diff options
Diffstat (limited to 'tools/perf/util/event.h')
-rw-r--r-- | tools/perf/util/event.h | 19 |
1 files changed, 13 insertions, 6 deletions
diff --git a/tools/perf/util/event.h b/tools/perf/util/event.h index 51a96c2effde..6b6429b63da3 100644 --- a/tools/perf/util/event.h +++ b/tools/perf/util/event.h | |||
@@ -156,18 +156,25 @@ struct symbol *map__find_symbol_by_name(struct map *self, const char *name, | |||
156 | void map__fixup_start(struct map *self); | 156 | void map__fixup_start(struct map *self); |
157 | void map__fixup_end(struct map *self); | 157 | void map__fixup_end(struct map *self); |
158 | 158 | ||
159 | int event__synthesize_thread(pid_t pid, int (*process)(event_t *event)); | 159 | struct perf_session; |
160 | void event__synthesize_threads(int (*process)(event_t *event)); | 160 | |
161 | int event__synthesize_thread(pid_t pid, | ||
162 | int (*process)(event_t *event, | ||
163 | struct perf_session *session), | ||
164 | struct perf_session *session); | ||
165 | void event__synthesize_threads(int (*process)(event_t *event, | ||
166 | struct perf_session *session), | ||
167 | struct perf_session *session); | ||
161 | 168 | ||
162 | extern char *event__cwd; | 169 | extern char *event__cwd; |
163 | extern int event__cwdlen; | 170 | extern int event__cwdlen; |
164 | extern struct events_stats event__stats; | 171 | extern struct events_stats event__stats; |
165 | extern unsigned long event__total[PERF_RECORD_MAX]; | 172 | extern unsigned long event__total[PERF_RECORD_MAX]; |
166 | 173 | ||
167 | int event__process_comm(event_t *self); | 174 | int event__process_comm(event_t *self, struct perf_session *session); |
168 | int event__process_lost(event_t *self); | 175 | int event__process_lost(event_t *self, struct perf_session *session); |
169 | int event__process_mmap(event_t *self); | 176 | int event__process_mmap(event_t *self, struct perf_session *session); |
170 | int event__process_task(event_t *self); | 177 | int event__process_task(event_t *self, struct perf_session *session); |
171 | 178 | ||
172 | struct addr_location; | 179 | struct addr_location; |
173 | int event__preprocess_sample(const event_t *self, struct addr_location *al, | 180 | int event__preprocess_sample(const event_t *self, struct addr_location *al, |