diff options
Diffstat (limited to 'tools/perf/util/event.h')
-rw-r--r-- | tools/perf/util/event.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/tools/perf/util/event.h b/tools/perf/util/event.h index 08c400b83d57..a95ab18575ce 100644 --- a/tools/perf/util/event.h +++ b/tools/perf/util/event.h | |||
@@ -142,8 +142,8 @@ typedef int (*event__handler_t)(event_t *event, struct sample_data *sample, | |||
142 | 142 | ||
143 | int event__synthesize_thread(pid_t pid, event__handler_t process, | 143 | int event__synthesize_thread(pid_t pid, event__handler_t process, |
144 | struct perf_session *session); | 144 | struct perf_session *session); |
145 | void event__synthesize_threads(event__handler_t process, | 145 | int event__synthesize_threads(event__handler_t process, |
146 | struct perf_session *session); | 146 | struct perf_session *session); |
147 | int event__synthesize_kernel_mmap(event__handler_t process, | 147 | int event__synthesize_kernel_mmap(event__handler_t process, |
148 | struct perf_session *session, | 148 | struct perf_session *session, |
149 | struct machine *machine, | 149 | struct machine *machine, |
@@ -168,7 +168,8 @@ struct addr_location; | |||
168 | int event__preprocess_sample(const event_t *self, struct perf_session *session, | 168 | int event__preprocess_sample(const event_t *self, struct perf_session *session, |
169 | struct addr_location *al, struct sample_data *data, | 169 | struct addr_location *al, struct sample_data *data, |
170 | symbol_filter_t filter); | 170 | symbol_filter_t filter); |
171 | int event__parse_sample(const event_t *event, u64 type, struct sample_data *data); | 171 | int event__parse_sample(const event_t *event, struct perf_session *session, |
172 | struct sample_data *sample); | ||
172 | 173 | ||
173 | extern const char *event__name[]; | 174 | extern const char *event__name[]; |
174 | 175 | ||