aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/util/session.h
diff options
context:
space:
mode:
authorArnaldo Carvalho de Melo <acme@redhat.com>2009-12-27 18:37:03 -0500
committerIngo Molnar <mingo@elte.hu>2009-12-28 03:03:34 -0500
commit31d337c4ee3152b7271897eae576251643f5a3b5 (patch)
treec1e6cff65d9c01f97ace23646ca84bff7636c9ee /tools/perf/util/session.h
parentd549c7690190d9739005e19604faad6da4b802ac (diff)
perf session: Move total_unknown to perf_session->unknown events
As this is a session property, not belonging to perf_event_ops, that can be shared by many perf_session instances. Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com> Cc: Frédéric Weisbecker <fweisbec@gmail.com> Cc: Mike Galbraith <efault@gmx.de> Cc: Peter Zijlstra <a.p.zijlstra@chello.nl> Cc: Paul Mackerras <paulus@samba.org> LKML-Reference: <1261957026-15580-7-git-send-email-acme@infradead.org> Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'tools/perf/util/session.h')
-rw-r--r--tools/perf/util/session.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/perf/util/session.h b/tools/perf/util/session.h
index 5771ccb3fe03..585937b6f9ee 100644
--- a/tools/perf/util/session.h
+++ b/tools/perf/util/session.h
@@ -20,6 +20,7 @@ struct perf_session {
20 struct thread *last_match; 20 struct thread *last_match;
21 struct events_stats events_stats; 21 struct events_stats events_stats;
22 unsigned long event_total[PERF_RECORD_MAX]; 22 unsigned long event_total[PERF_RECORD_MAX];
23 unsigned long unknown_events;
23 struct rb_root hists; 24 struct rb_root hists;
24 u64 sample_type; 25 u64 sample_type;
25 int fd; 26 int fd;
@@ -40,7 +41,6 @@ struct perf_event_ops {
40 event_op process_read_event; 41 event_op process_read_event;
41 event_op process_throttle_event; 42 event_op process_throttle_event;
42 event_op process_unthrottle_event; 43 event_op process_unthrottle_event;
43 unsigned long total_unknown;
44 bool full_paths; 44 bool full_paths;
45}; 45};
46 46