diff options
author | Jiri Olsa <jolsa@kernel.org> | 2014-07-06 08:23:03 -0400 |
---|---|---|
committer | Arnaldo Carvalho de Melo <acme@redhat.com> | 2014-08-12 11:02:55 -0400 |
commit | 37e39aa8a8a42ad2fd72b7c7349115dad8297d9c (patch) | |
tree | 7b95aae4e7b16661a4d25da00637a8189496ac04 /tools/perf/util/session.h | |
parent | 0a8cb85c200c4082ed7e57efd90dd9d18c8d40b6 (diff) |
perf tools: Rename ordered_samples struct to ordered_events
Following up with ordered_samples rename for ordered_samples and
sample_queue structs to ordered_events and ordered_event structs
respectively.
Also changing flush_sample_queue function name to ordered_events_flush.
No functional change was intended.
Signed-off-by: Jiri Olsa <jolsa@kernel.org>
Acked-by: David Ahern <dsahern@gmail.com>
Cc: Corey Ashford <cjashfor@linux.vnet.ibm.com>
Cc: David Ahern <dsahern@gmail.com>
Cc: Frederic Weisbecker <fweisbec@gmail.com>
Cc: Ingo Molnar <mingo@kernel.org>
Cc: Jean Pihet <jean.pihet@linaro.org>
Cc: Namhyung Kim <namhyung@kernel.org>
Cc: Paul Mackerras <paulus@samba.org>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Link: http://lkml.kernel.org/n/tip-2dkrdvh0bbmzxdse437fcgls@git.kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/perf/util/session.h')
-rw-r--r-- | tools/perf/util/session.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/tools/perf/util/session.h b/tools/perf/util/session.h index 0321013bd9fd..f6baf935917a 100644 --- a/tools/perf/util/session.h +++ b/tools/perf/util/session.h | |||
@@ -12,19 +12,19 @@ | |||
12 | #include <linux/rbtree.h> | 12 | #include <linux/rbtree.h> |
13 | #include <linux/perf_event.h> | 13 | #include <linux/perf_event.h> |
14 | 14 | ||
15 | struct sample_queue; | 15 | struct ordered_event; |
16 | struct ip_callchain; | 16 | struct ip_callchain; |
17 | struct thread; | 17 | struct thread; |
18 | 18 | ||
19 | struct ordered_samples { | 19 | struct ordered_events { |
20 | u64 last_flush; | 20 | u64 last_flush; |
21 | u64 next_flush; | 21 | u64 next_flush; |
22 | u64 max_timestamp; | 22 | u64 max_timestamp; |
23 | struct list_head samples; | 23 | struct list_head samples; |
24 | struct list_head sample_cache; | 24 | struct list_head sample_cache; |
25 | struct list_head to_free; | 25 | struct list_head to_free; |
26 | struct sample_queue *sample_buffer; | 26 | struct ordered_event *sample_buffer; |
27 | struct sample_queue *last_sample; | 27 | struct ordered_event *last_sample; |
28 | int sample_buffer_idx; | 28 | int sample_buffer_idx; |
29 | unsigned int nr_samples; | 29 | unsigned int nr_samples; |
30 | }; | 30 | }; |
@@ -39,7 +39,7 @@ struct perf_session { | |||
39 | bool one_mmap; | 39 | bool one_mmap; |
40 | void *one_mmap_addr; | 40 | void *one_mmap_addr; |
41 | u64 one_mmap_offset; | 41 | u64 one_mmap_offset; |
42 | struct ordered_samples ordered_samples; | 42 | struct ordered_events ordered_events; |
43 | struct perf_data_file *file; | 43 | struct perf_data_file *file; |
44 | }; | 44 | }; |
45 | 45 | ||