aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/util/data_map.c
diff options
context:
space:
mode:
Diffstat (limited to 'tools/perf/util/data_map.c')
-rw-r--r--tools/perf/util/data_map.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/perf/util/data_map.c b/tools/perf/util/data_map.c
index 44dea211cc6..08c4cf5e66b 100644
--- a/tools/perf/util/data_map.c
+++ b/tools/perf/util/data_map.c
@@ -161,7 +161,7 @@ int perf_session__process_events(struct perf_session *self,
err = -EINVAL;
if (ops->sample_type_check &&
- ops->sample_type_check(sample_type) < 0)
+ ops->sample_type_check(sample_type, self) < 0)
goto out_err;
if (!ops->full_paths) {