diff options
author | Adrian Hunter <adrian.hunter@intel.com> | 2016-06-23 16:40:57 +0300 |
---|---|---|
committer | Arnaldo Carvalho de Melo <acme@redhat.com> | 2016-06-23 23:02:59 +0300 |
commit | 50f736372d5ea0ce97ede698f957c9b141aa569e (patch) | |
tree | f12cd5756fdc9364c2cd0bd603167c37fb0f284b /tools/perf/util/thread-stack.h | |
parent | 055cd33d93ac310ce68e8b1ebcf88f829426adf5 (diff) | |
download | linux-50f736372d5ea0ce97ede698f957c9b141aa569e.tar.xz |
perf auxtrace: Add option to feed branches to the thread stack
In preparation for using the thread stack to print an indent
representing the stack depth in perf script, add an option to tell
decoders to feed branches to the thread stack. Add support for that
option to Intel PT and Intel BTS.
The advantage of using the decoder to feed the thread stack is that it
happens before branch filtering and so can be used with different itrace
options (e.g. it still works when only showing calls, even though the
thread stack needs to see calls and returns). Also it does not conflict
with using the thread stack to get callchains.
Signed-off-by: Adrian Hunter <adrian.hunter@intel.com>
Acked-by: Andi Kleen <ak@linux.intel.com>
Cc: Jiri Olsa <jolsa@redhat.com>
Link: http://lkml.kernel.org/r/1466689258-28493-3-git-send-email-adrian.hunter@intel.com
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/perf/util/thread-stack.h')
0 files changed, 0 insertions, 0 deletions