diff options
Diffstat (limited to 'tools/perf/util/session.h')
-rw-r--r-- | tools/perf/util/session.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/perf/util/session.h b/tools/perf/util/session.h index a8f3a49ca43a..4e8a21c5304c 100644 --- a/tools/perf/util/session.h +++ b/tools/perf/util/session.h | |||
@@ -19,6 +19,7 @@ struct perf_session { | |||
19 | struct rb_root threads; | 19 | struct rb_root threads; |
20 | struct thread *last_match; | 20 | struct thread *last_match; |
21 | struct rb_root hists; | 21 | struct rb_root hists; |
22 | u64 sample_type; | ||
22 | int fd; | 23 | int fd; |
23 | int cwdlen; | 24 | int cwdlen; |
24 | char *cwd; | 25 | char *cwd; |
@@ -39,8 +40,7 @@ struct perf_event_ops { | |||
39 | event_op process_read_event; | 40 | event_op process_read_event; |
40 | event_op process_throttle_event; | 41 | event_op process_throttle_event; |
41 | event_op process_unthrottle_event; | 42 | event_op process_unthrottle_event; |
42 | int (*sample_type_check)(u64 sample_type, | 43 | int (*sample_type_check)(struct perf_session *session); |
43 | struct perf_session *session); | ||
44 | unsigned long total_unknown; | 44 | unsigned long total_unknown; |
45 | bool full_paths; | 45 | bool full_paths; |
46 | }; | 46 | }; |