diff options
author | Arnaldo Carvalho de Melo <acme@redhat.com> | 2011-01-29 10:02:00 -0500 |
---|---|---|
committer | Arnaldo Carvalho de Melo <acme@redhat.com> | 2011-01-29 13:25:20 -0500 |
commit | 8d50e5b4171a69cf48ca94a1e7c14033d0b4771d (patch) | |
tree | 6ebf659f92f0770917c7f47c24449ebfe048ce61 /tools/perf/builtin-top.c | |
parent | 93fc64f14472ae24fd640bf3834a178f59142842 (diff) |
perf tools: Rename 'struct sample_data' to 'struct perf_sample'
Making the namespace more uniform.
Cc: Frederic Weisbecker <fweisbec@gmail.com>
Cc: Ingo Molnar <mingo@elte.hu>
Cc: Mike Galbraith <efault@gmx.de>
Cc: Paul Mackerras <paulus@samba.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Stephane Eranian <eranian@google.com>
Cc: Tom Zanussi <tzanussi@gmail.com>
LKML-Reference: <new-submission>
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/perf/builtin-top.c')
-rw-r--r-- | tools/perf/builtin-top.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/perf/builtin-top.c b/tools/perf/builtin-top.c index 7f92ab7696f7..d923127b41b6 100644 --- a/tools/perf/builtin-top.c +++ b/tools/perf/builtin-top.c | |||
@@ -997,7 +997,7 @@ static int symbol_filter(struct map *map, struct symbol *sym) | |||
997 | } | 997 | } |
998 | 998 | ||
999 | static void event__process_sample(const event_t *self, | 999 | static void event__process_sample(const event_t *self, |
1000 | struct sample_data *sample, | 1000 | struct perf_sample *sample, |
1001 | struct perf_session *session) | 1001 | struct perf_session *session) |
1002 | { | 1002 | { |
1003 | u64 ip = self->ip.ip; | 1003 | u64 ip = self->ip.ip; |
@@ -1107,7 +1107,7 @@ static void event__process_sample(const event_t *self, | |||
1107 | 1107 | ||
1108 | static void perf_session__mmap_read_cpu(struct perf_session *self, int cpu) | 1108 | static void perf_session__mmap_read_cpu(struct perf_session *self, int cpu) |
1109 | { | 1109 | { |
1110 | struct sample_data sample; | 1110 | struct perf_sample sample; |
1111 | event_t *event; | 1111 | event_t *event; |
1112 | 1112 | ||
1113 | while ((event = perf_evlist__read_on_cpu(evsel_list, cpu)) != NULL) { | 1113 | while ((event = perf_evlist__read_on_cpu(evsel_list, cpu)) != NULL) { |