diff options
Diffstat (limited to 'tools/perf/util/session.h')
-rw-r--r-- | tools/perf/util/session.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tools/perf/util/session.h b/tools/perf/util/session.h index 4e8a21c5304c..bdfc4b8eee7a 100644 --- a/tools/perf/util/session.h +++ b/tools/perf/util/session.h | |||
@@ -5,6 +5,7 @@ | |||
5 | #include "header.h" | 5 | #include "header.h" |
6 | #include "thread.h" | 6 | #include "thread.h" |
7 | #include <linux/rbtree.h> | 7 | #include <linux/rbtree.h> |
8 | #include "../../../include/linux/perf_event.h" | ||
8 | 9 | ||
9 | struct ip_callchain; | 10 | struct ip_callchain; |
10 | struct thread; | 11 | struct thread; |
@@ -18,6 +19,8 @@ struct perf_session { | |||
18 | struct map_groups kmaps; | 19 | struct map_groups kmaps; |
19 | struct rb_root threads; | 20 | struct rb_root threads; |
20 | struct thread *last_match; | 21 | struct thread *last_match; |
22 | struct events_stats events_stats; | ||
23 | unsigned long event_total[PERF_RECORD_MAX]; | ||
21 | struct rb_root hists; | 24 | struct rb_root hists; |
22 | u64 sample_type; | 25 | u64 sample_type; |
23 | int fd; | 26 | int fd; |