diff options
author | Arnaldo Carvalho de Melo <acme@redhat.com> | 2009-12-14 12:06:01 -0500 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2009-12-15 02:50:28 -0500 |
commit | f823e441ab4dfaeaf17832fa1931e0dc0fde304d (patch) | |
tree | 6bfaf4a3c4c5e2d5f65abece7996b005302e6af6 /tools/perf/builtin-trace.c | |
parent | c019879bcc5692ec9267c1cedad91f1794d0b693 (diff) |
perf session: Event statistics also are per session
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: <1260810361-22828-1-git-send-email-acme@infradead.org>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'tools/perf/builtin-trace.c')
-rw-r--r-- | tools/perf/builtin-trace.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/perf/builtin-trace.c b/tools/perf/builtin-trace.c index 9ee976dc395b..07da66511bd5 100644 --- a/tools/perf/builtin-trace.c +++ b/tools/perf/builtin-trace.c | |||
@@ -96,8 +96,8 @@ static int process_sample_event(event_t *event, struct perf_session *session) | |||
96 | data.raw_size, | 96 | data.raw_size, |
97 | data.time, thread->comm); | 97 | data.time, thread->comm); |
98 | } | 98 | } |
99 | event__stats.total += data.period; | ||
100 | 99 | ||
100 | session->events_stats.total += data.period; | ||
101 | return 0; | 101 | return 0; |
102 | } | 102 | } |
103 | 103 | ||