diff options
author | Adrian Hunter <adrian.hunter@intel.com> | 2018-09-20 15:00:46 +0200 |
---|---|---|
committer | Arnaldo Carvalho de Melo <acme@redhat.com> | 2018-09-20 20:19:50 +0200 |
commit | 2dcde4e152a3e319cc7e76c7c6b8548a3c72310d (patch) | |
tree | 6ebe31b385864270f308e44b40e063c27fabe34d /tools/perf/util/intel-pt-decoder | |
parent | perf tools: Improve thread_stack__event() for trace begin / end (diff) | |
download | linux-2dcde4e152a3e319cc7e76c7c6b8548a3c72310d.tar.xz linux-2dcde4e152a3e319cc7e76c7c6b8548a3c72310d.zip |
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 <adrian.hunter@intel.com>
Cc: Andi Kleen <ak@linux.intel.com>
Cc: Jiri Olsa <jolsa@redhat.com>
Link: http://lkml.kernel.org/r/20180920130048.31432-5-adrian.hunter@intel.com
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/perf/util/intel-pt-decoder')
0 files changed, 0 insertions, 0 deletions