diff options
Diffstat (limited to 'tools/perf/util/event.h')
-rw-r--r-- | tools/perf/util/event.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/tools/perf/util/event.h b/tools/perf/util/event.h index eecb42273d59..9c35170fb379 100644 --- a/tools/perf/util/event.h +++ b/tools/perf/util/event.h | |||
@@ -135,6 +135,7 @@ union perf_event { | |||
135 | void perf_event__print_totals(void); | 135 | void perf_event__print_totals(void); |
136 | 136 | ||
137 | struct perf_session; | 137 | struct perf_session; |
138 | struct thread_map; | ||
138 | 139 | ||
139 | typedef int (*perf_event__handler_synth_t)(union perf_event *event, | 140 | typedef int (*perf_event__handler_synth_t)(union perf_event *event, |
140 | struct perf_session *session); | 141 | struct perf_session *session); |
@@ -142,8 +143,9 @@ typedef int (*perf_event__handler_t)(union perf_event *event, | |||
142 | struct perf_sample *sample, | 143 | struct perf_sample *sample, |
143 | struct perf_session *session); | 144 | struct perf_session *session); |
144 | 145 | ||
145 | int perf_event__synthesize_thread(pid_t pid, perf_event__handler_t process, | 146 | int perf_event__synthesize_thread_map(struct thread_map *threads, |
146 | struct perf_session *session); | 147 | perf_event__handler_t process, |
148 | struct perf_session *session); | ||
147 | int perf_event__synthesize_threads(perf_event__handler_t process, | 149 | int perf_event__synthesize_threads(perf_event__handler_t process, |
148 | struct perf_session *session); | 150 | struct perf_session *session); |
149 | int perf_event__synthesize_kernel_mmap(perf_event__handler_t process, | 151 | int perf_event__synthesize_kernel_mmap(perf_event__handler_t process, |