summaryrefslogtreecommitdiff
path: root/tools/perf/util/data_map.h
diff options
context:
space:
mode:
Diffstat (limited to 'tools/perf/util/data_map.h')
-rw-r--r--tools/perf/util/data_map.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/tools/perf/util/data_map.h b/tools/perf/util/data_map.h
index 98c5b823388c..6d4ae52bc07b 100644
--- a/tools/perf/util/data_map.h
+++ b/tools/perf/util/data_map.h
@@ -5,7 +5,10 @@
#include "header.h"
#include "session.h"
-typedef int (*event_type_handler_t)(event_t *);
+struct perf_session;
+
+typedef int (*event_type_handler_t)(event_t *self,
+ struct perf_session *session);
struct perf_file_handler {
event_type_handler_t process_sample_event;