diff options
author | Namhyung Kim <[email protected]> | 2016-02-25 00:13:41 +0900 |
---|---|---|
committer | Arnaldo Carvalho de Melo <[email protected]> | 2016-02-24 20:21:12 -0300 |
commit | ef86d68a088c324e4bd85f82387d1f9a571affd0 (patch) | |
tree | e66c0b0d4906207cfac3cc9e8948e554fe49b2bd /tools/perf/util/trace-event-scripting.c | |
parent | 1f2d72cf3258eacd667cd1920e64c9b64b9984d5 (diff) |
perf ui/stdio: Implement hierarchy output mode
The hierarchy output mode is to group entries for each level so that
user can see higher level picture more easily. It also helps to find
out which component is most costly. The output will look like below:
15.11% swapper
14.97% [kernel.vmlinux]
0.09% [libahci]
0.05% [iwlwifi]
10.29% irq/33-iwlwifi
6.45% [kernel.vmlinux]
1.41% [mac80211]
1.15% [iwldvm]
1.14% [iwlwifi]
0.14% [cfg80211]
4.81% firefox
3.92% libxul.so
0.34% [kernel.vmlinux]
Signed-off-by: Namhyung Kim <[email protected]>
Acked-by: Pekka Enberg <[email protected]>
Cc: Andi Kleen <[email protected]>
Cc: David Ahern <[email protected]>
Cc: Jiri Olsa <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: Stephane Eranian <[email protected]>
Cc: Wang Nan <[email protected]>
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions