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/header.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/header.h')
-rw-r--r-- | tools/perf/util/header.h | 50 |
1 files changed, 25 insertions, 25 deletions
diff --git a/tools/perf/util/header.h b/tools/perf/util/header.h index 65afd7f74e0d..f042cebcec1e 100644 --- a/tools/perf/util/header.h +++ b/tools/perf/util/header.h | |||
@@ -100,32 +100,32 @@ int build_id_cache__add_s(const char *sbuild_id, const char *debugdir, | |||
100 | const char *name, bool is_kallsyms); | 100 | const char *name, bool is_kallsyms); |
101 | int build_id_cache__remove_s(const char *sbuild_id, const char *debugdir); | 101 | int build_id_cache__remove_s(const char *sbuild_id, const char *debugdir); |
102 | 102 | ||
103 | int event__synthesize_attr(struct perf_event_attr *attr, u16 ids, u64 *id, | 103 | int perf_event__synthesize_attr(struct perf_event_attr *attr, u16 ids, u64 *id, |
104 | event__handler_t process, | 104 | perf_event__handler_t process, |
105 | struct perf_session *session); | 105 | struct perf_session *session); |
106 | int event__synthesize_attrs(struct perf_header *self, | 106 | int perf_event__synthesize_attrs(struct perf_header *self, |
107 | event__handler_t process, | 107 | perf_event__handler_t process, |
108 | struct perf_session *session); | ||
109 | int event__process_attr(event_t *self, struct perf_session *session); | ||
110 | |||
111 | int event__synthesize_event_type(u64 event_id, char *name, | ||
112 | event__handler_t process, | ||
113 | struct perf_session *session); | 108 | struct perf_session *session); |
114 | int event__synthesize_event_types(event__handler_t process, | 109 | int perf_event__process_attr(union perf_event *event, struct perf_session *session); |
115 | struct perf_session *session); | 110 | |
116 | int event__process_event_type(event_t *self, | 111 | int perf_event__synthesize_event_type(u64 event_id, char *name, |
117 | struct perf_session *session); | 112 | perf_event__handler_t process, |
118 | 113 | struct perf_session *session); | |
119 | int event__synthesize_tracing_data(int fd, struct perf_evlist *evlist, | 114 | int perf_event__synthesize_event_types(perf_event__handler_t process, |
120 | event__handler_t process, | 115 | struct perf_session *session); |
116 | int perf_event__process_event_type(union perf_event *event, | ||
121 | struct perf_session *session); | 117 | struct perf_session *session); |
122 | int event__process_tracing_data(event_t *self, | ||
123 | struct perf_session *session); | ||
124 | |||
125 | int event__synthesize_build_id(struct dso *pos, u16 misc, | ||
126 | event__handler_t process, | ||
127 | struct machine *machine, | ||
128 | struct perf_session *session); | ||
129 | int event__process_build_id(event_t *self, struct perf_session *session); | ||
130 | 118 | ||
119 | int perf_event__synthesize_tracing_data(int fd, struct perf_evlist *evlist, | ||
120 | perf_event__handler_t process, | ||
121 | struct perf_session *session); | ||
122 | int perf_event__process_tracing_data(union perf_event *event, | ||
123 | struct perf_session *session); | ||
124 | |||
125 | int perf_event__synthesize_build_id(struct dso *pos, u16 misc, | ||
126 | perf_event__handler_t process, | ||
127 | struct machine *machine, | ||
128 | struct perf_session *session); | ||
129 | int perf_event__process_build_id(union perf_event *event, | ||
130 | struct perf_session *session); | ||
131 | #endif /* __PERF_HEADER_H */ | 131 | #endif /* __PERF_HEADER_H */ |