diff options
| author | Arnaldo Carvalho de Melo <[email protected]> | 2010-05-14 13:36:42 +0000 |
|---|---|---|
| committer | Arnaldo Carvalho de Melo <[email protected]> | 2010-05-14 13:36:42 +0000 |
| commit | c8446b9bdabcb0caa61bb341bd73c58f7104b503 (patch) | |
| tree | b2530bfbbd893017e9515bd48f2ffa8845860759 /tools/perf/builtin-annotate.c | |
| parent | perf trace scripts: Fix typos in perf-trace-python.txt (diff) | |
| download | kernel-c8446b9bdabcb0caa61bb341bd73c58f7104b503.tar.gz kernel-c8446b9bdabcb0caa61bb341bd73c58f7104b503.zip | |
perf hist: Make event__totals per hists
This is one more thing that started global but are more useful per hist
or per session.
Cc: Frédéric Weisbecker <[email protected]>
Cc: Mike Galbraith <[email protected]>
Cc: Paul Mackerras <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: Tom Zanussi <[email protected]>
LKML-Reference: <new-submission>
Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'tools/perf/builtin-annotate.c')
| -rw-r--r-- | tools/perf/builtin-annotate.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/perf/builtin-annotate.c b/tools/perf/builtin-annotate.c index fd1b786c8f35..77bcc9b130f5 100644 --- a/tools/perf/builtin-annotate.c +++ b/tools/perf/builtin-annotate.c @@ -365,7 +365,7 @@ static int __cmd_annotate(void) goto out_delete; if (dump_trace) { - event__print_totals(); + perf_session__fprintf_nr_events(session, stdout); goto out_delete; } |
