diff options
author | Ingo Molnar <mingo@kernel.org> | 2013-02-03 05:14:06 -0500 |
---|---|---|
committer | Ingo Molnar <mingo@kernel.org> | 2013-02-03 05:14:06 -0500 |
commit | f7355a5e7c722452e2cd80d6b83acb2f4423c4a2 (patch) | |
tree | 2ee172a5607de2baf25b8e9b99acd181a34676a6 /include | |
parent | 9c4c5fd9e6207f04dbf59c5a9699fded144542e6 (diff) | |
parent | d840f718d28715a9833c1a8f46c2493ff3fd219b (diff) |
Merge branch 'tip/perf/core' of git://git.kernel.org/pub/scm/linux/kernel/git/rostedt/linux-trace into perf/core
Pull tracing updated from Steve Rostedt.
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/ftrace_event.h | 3 | ||||
-rw-r--r-- | include/linux/ring_buffer.h | 1 |
2 files changed, 4 insertions, 0 deletions
diff --git a/include/linux/ftrace_event.h b/include/linux/ftrace_event.h index 6f8d0b77006b..13a54d0bdfa8 100644 --- a/include/linux/ftrace_event.h +++ b/include/linux/ftrace_event.h | |||
@@ -83,6 +83,9 @@ struct trace_iterator { | |||
83 | long idx; | 83 | long idx; |
84 | 84 | ||
85 | cpumask_var_t started; | 85 | cpumask_var_t started; |
86 | |||
87 | /* it's true when current open file is snapshot */ | ||
88 | bool snapshot; | ||
86 | }; | 89 | }; |
87 | 90 | ||
88 | enum trace_iter_flags { | 91 | enum trace_iter_flags { |
diff --git a/include/linux/ring_buffer.h b/include/linux/ring_buffer.h index 519777e3fa01..1342e69542f3 100644 --- a/include/linux/ring_buffer.h +++ b/include/linux/ring_buffer.h | |||
@@ -167,6 +167,7 @@ unsigned long ring_buffer_entries_cpu(struct ring_buffer *buffer, int cpu); | |||
167 | unsigned long ring_buffer_overrun_cpu(struct ring_buffer *buffer, int cpu); | 167 | unsigned long ring_buffer_overrun_cpu(struct ring_buffer *buffer, int cpu); |
168 | unsigned long ring_buffer_commit_overrun_cpu(struct ring_buffer *buffer, int cpu); | 168 | unsigned long ring_buffer_commit_overrun_cpu(struct ring_buffer *buffer, int cpu); |
169 | unsigned long ring_buffer_dropped_events_cpu(struct ring_buffer *buffer, int cpu); | 169 | unsigned long ring_buffer_dropped_events_cpu(struct ring_buffer *buffer, int cpu); |
170 | unsigned long ring_buffer_read_events_cpu(struct ring_buffer *buffer, int cpu); | ||
170 | 171 | ||
171 | u64 ring_buffer_time_stamp(struct ring_buffer *buffer, int cpu); | 172 | u64 ring_buffer_time_stamp(struct ring_buffer *buffer, int cpu); |
172 | void ring_buffer_normalize_time_stamp(struct ring_buffer *buffer, | 173 | void ring_buffer_normalize_time_stamp(struct ring_buffer *buffer, |