aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/util/event.h
diff options
context:
space:
mode:
Diffstat (limited to 'tools/perf/util/event.h')
-rw-r--r--tools/perf/util/event.h6
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 {
135void perf_event__print_totals(void); 135void perf_event__print_totals(void);
136 136
137struct perf_session; 137struct perf_session;
138struct thread_map;
138 139
139typedef int (*perf_event__handler_synth_t)(union perf_event *event, 140typedef 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
145int perf_event__synthesize_thread(pid_t pid, perf_event__handler_t process, 146int 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);
147int perf_event__synthesize_threads(perf_event__handler_t process, 149int perf_event__synthesize_threads(perf_event__handler_t process,
148 struct perf_session *session); 150 struct perf_session *session);
149int perf_event__synthesize_kernel_mmap(perf_event__handler_t process, 151int perf_event__synthesize_kernel_mmap(perf_event__handler_t process,