diff options
author | Arnaldo Carvalho de Melo <acme@redhat.com> | 2011-01-29 11:01:45 -0500 |
---|---|---|
committer | Arnaldo Carvalho de Melo <acme@redhat.com> | 2011-01-29 13:25:37 -0500 |
commit | 8115d60c323dd9931b95221c0a392aeddc1d6ef3 (patch) | |
tree | 13e75d71c5163c78efc9d8ab33988cc6c7be74a1 /tools/perf/util/evlist.h | |
parent | 8d50e5b4171a69cf48ca94a1e7c14033d0b4771d (diff) |
perf tools: Kill event_t typedef, use 'union perf_event' instead
And move the event_t methods to the perf_event__ too.
No code changes, just namespace consistency.
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/util/evlist.h')
-rw-r--r-- | tools/perf/util/evlist.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/perf/util/evlist.h b/tools/perf/util/evlist.h index 2706ae40c8b3..022ae404b908 100644 --- a/tools/perf/util/evlist.h +++ b/tools/perf/util/evlist.h | |||
@@ -17,7 +17,7 @@ struct perf_evlist { | |||
17 | int nr_fds; | 17 | int nr_fds; |
18 | int mmap_len; | 18 | int mmap_len; |
19 | bool overwrite; | 19 | bool overwrite; |
20 | event_t event_copy; | 20 | union perf_event event_copy; |
21 | struct perf_mmap *mmap; | 21 | struct perf_mmap *mmap; |
22 | struct pollfd *pollfd; | 22 | struct pollfd *pollfd; |
23 | }; | 23 | }; |
@@ -37,6 +37,6 @@ void perf_evlist__add_pollfd(struct perf_evlist *evlist, int fd); | |||
37 | 37 | ||
38 | struct perf_evsel *perf_evlist__id2evsel(struct perf_evlist *evlist, u64 id); | 38 | struct perf_evsel *perf_evlist__id2evsel(struct perf_evlist *evlist, u64 id); |
39 | 39 | ||
40 | event_t *perf_evlist__read_on_cpu(struct perf_evlist *self, int cpu); | 40 | union perf_event *perf_evlist__read_on_cpu(struct perf_evlist *self, int cpu); |
41 | 41 | ||
42 | #endif /* __PERF_EVLIST_H */ | 42 | #endif /* __PERF_EVLIST_H */ |