diff options
author | Jiri Olsa <[email protected]> | 2017-08-24 18:27:36 +0200 |
---|---|---|
committer | Arnaldo Carvalho de Melo <[email protected]> | 2017-08-28 16:44:44 -0300 |
commit | 9933183e365f7dd3a79507f1ffb4bcf9433a73ee (patch) | |
tree | e77f216c3fd5358d67bb676f5f02bdba80d9b86b /tools/perf/scripts/python/export-to-postgresql.py | |
parent | a1834fc938344dd3015a1df64ee7f2af70ded147 (diff) |
perf report: Group stat values on global event id
There's no big value on displaying counts for every event ID, which is
one per every CPU. Rather than that, displaying the whole sum for the
event.
$ perf record -c 100000 -e cycles:u -s test
$ perf report -T
Before:
# PID TID cycles:u cycles:u cycles:u cycles:u ... [20 more columns of 'cycles:u']
3339 3339 0 0 0 0
3340 3340 0 0 0 0
3341 3341 0 0 0 0
3342 3342 0 0 0 0
Now:
# PID TID cycles:u
3339 3339 19678
3340 3340 18744
3341 3341 17335
3342 3342 26414
Signed-off-by: Jiri Olsa <[email protected]>
Cc: Alexander Shishkin <[email protected]>
Cc: Andi Kleen <[email protected]>
Cc: David Ahern <[email protected]>
Cc: Mark Rutland <[email protected]>
Cc: Namhyung Kim <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions