aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/call-graph-from-sql.py
diff options
context:
space:
mode:
authorAdrian Hunter <[email protected]>2018-09-20 16:00:46 +0300
committerArnaldo Carvalho de Melo <[email protected]>2018-09-20 15:19:50 -0300
commit2dcde4e152a3e319cc7e76c7c6b8548a3c72310d (patch)
tree6ebe31b385864270f308e44b40e063c27fabe34d /tools/perf/scripts/python/call-graph-from-sql.py
parent4d60e5e36aa6f11b4d9eadc5d2b94128f24870c7 (diff)
perf tools: Improve thread_stack__process() for trace begin / end
thread_stack__process() is used to create call paths for database export. Improve the handling of trace begin / end to allow for a trace that ends in a call. Previously, the Intel PT decoder would indicate begin / end by a branch from / to zero. That hides useful information, in particular when a trace ends with a call. Before remedying that, enhance the thread stack so that it identifies the trace end by the flag instead of by ip == 0. Signed-off-by: Adrian Hunter <[email protected]> Cc: Andi Kleen <[email protected]> Cc: Jiri Olsa <[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/call-graph-from-sql.py')
0 files changed, 0 insertions, 0 deletions