]> git.baikalelectronics.ru Git - kernel.git/commit
perf auxtrace: Add option to feed branches to the thread stack
authorAdrian Hunter <adrian.hunter@intel.com>
Thu, 23 Jun 2016 13:40:57 +0000 (16:40 +0300)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Thu, 23 Jun 2016 20:02:59 +0000 (17:02 -0300)
commit614c83b2ec2d2a25d93c547ac6b5b4af7b85f8cb
treef12cd5756fdc9364c2cd0bd603167c37fb0f284b
parent07ee4726beab5664c0833811103cde5c49c08429
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>
tools/perf/util/auxtrace.h
tools/perf/util/intel-bts.c
tools/perf/util/intel-pt.c