diff options
author | Jiri Olsa <[email protected]> | 2018-01-07 17:03:55 +0100 |
---|---|---|
committer | Arnaldo Carvalho de Melo <[email protected]> | 2018-01-10 12:00:56 -0300 |
commit | a4a4d0a7a2b20f7880262de4f51685baaf693476 (patch) | |
tree | bf6c28dcefaa93d1a4180a9aa69497a047a1b0d6 /tools/perf/scripts/python/call-graph-from-sql.py | |
parent | 075ca1ebb25e798e4072a1e3a482b829bb51afb2 (diff) |
perf report: Add --stats option to display quick data statistics
Add --stats option to display quick data statistics of event numbers,
without any further processing, like the one at the end of the perf
report -D command.
$ perf report --stat
Aggregated stats:
TOTAL events: 4566
MMAP events: 113
LOST events: 19
COMM events: 3
FORK events: 400
SAMPLE events: 3315
MMAP2 events: 32
FINISHED_ROUND events: 681
THREAD_MAP events: 1
CPU_MAP events: 1
TIME_CONV events: 1
I found this useful when hunting lost events for another change.
Signed-off-by: Jiri Olsa <[email protected]>
Tested-by: Arnaldo Carvalho de Melo <[email protected]>
Cc: Alexander Shishkin <[email protected]>
Cc: Andi Kleen <[email protected]>
Cc: David Ahern <[email protected]>
Cc: Namhyung Kim <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Link: http://lkml.kernel.org/r/[email protected]
[ Rename it to --stats, plural ]
Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-sql.py')
0 files changed, 0 insertions, 0 deletions