diff options
author | Namhyung Kim <[email protected]> | 2014-11-24 17:13:27 +0900 |
---|---|---|
committer | Arnaldo Carvalho de Melo <[email protected]> | 2014-11-24 11:34:33 -0300 |
commit | a7444af69b2898bb9b3a847d3599e1fc98356ce5 (patch) | |
tree | 1444afa100133e0acd6d82032bf7fca834f51293 /tools/perf/util/scripting-engines/trace-event-python.c | |
parent | 4087d11cd9455cd28da0795504451d1188633a0d (diff) |
perf tools: Collapse first level callchain entry if it has sibling
If first level callchain has more than single path like when -g caller
option is given, it should show only first one in the path and hide
others. But it didn't do it properly and just hindered the output.
Before:
- 80.33% 11.11% abc2 abc2 [.] main
+ 86.18% main
13.82% __libc_start_main
main
After:
- 80.33% 11.11% abc2 abc2 [.] main
+ 86.18% main
+ 13.82% __libc_start_main
Signed-off-by: Namhyung Kim <[email protected]>
Cc: Andi Kleen <[email protected]>
Cc: David Ahern <[email protected]>
Cc: Frederic Weisbecker <[email protected]>
Cc: Ingo Molnar <[email protected]>
Cc: Jiri Olsa <[email protected]>
Cc: Namhyung Kim <[email protected]>
Cc: Paul Mackerras <[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/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions