diff options
author | Adrian Hunter <[email protected]> | 2017-05-26 11:17:11 +0300 |
---|---|---|
committer | Arnaldo Carvalho de Melo <[email protected]> | 2017-06-21 11:35:48 -0300 |
commit | 839598176b0554967238234e1e92c7d1e3f0d53d (patch) | |
tree | b924625e5f60a21534f3291379bf098b56f73329 /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | 04194207fe6424c7a1bfd6f43ef7deb90cdf716f (diff) |
perf intel-pt: Allow decoding with branch tracing disabled
The kernel now supports the disabling of branch tracing, however the
decoder assumes branch tracing is always enabled. Pass through a parameter
to indicate whether branch tracing is enabled and use it to avoid cases
when the decoder is expecting branch packets. There are 2 such cases.
First, FUP packets which can bind to an IP even when there is no branch
tracing. Secondly, the decoder will try to use branch packets to find an IP
to start decoding or to recover from errors.
Signed-off-by: Adrian Hunter <[email protected]>
Cc: Andi Kleen <[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-postgresql.py')
0 files changed, 0 insertions, 0 deletions