diff options
author | Namhyung Kim <[email protected]> | 2014-10-06 09:46:01 +0900 |
---|---|---|
committer | Arnaldo Carvalho de Melo <[email protected]> | 2014-10-29 10:25:22 -0200 |
commit | 380b5143ab76de71572c7a30e68c8e22b94bee52 (patch) | |
tree | 52f0dc23a6586d4545c5f92464320adbc8b14ae6 /tools/perf/scripts/python/sctop.py | |
parent | 1776b10627e486dd431fe72d8d47e5a865cf65d1 (diff) |
perf callchain: Use global caching provided by libunwind
The libunwind provides two caching policy which are global and
per-thread. As perf unwinds callchains in a single thread, it'd
sufficient to use global caching.
This speeds up my perf report from 14s to 7s on a ~260MB data file.
Although the output sometimes contains a slight difference (~0.01% in
terms of number of lines printed) on callchains which were not resolved.
Signed-off-by: Namhyung Kim <[email protected]>
Acked-by: Jean Pihet <[email protected]>
Cc: Arun Sharma <[email protected]>
Cc: David Ahern <[email protected]>
Cc: Frederic Weisbecker <[email protected]>
Cc: Ingo Molnar <[email protected]>
Cc: Jean Pihet <[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/scripts/python/sctop.py')
0 files changed, 0 insertions, 0 deletions