aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/call-graph-from-sql.py
diff options
context:
space:
mode:
authorRobert Walker <[email protected]>2018-02-14 11:24:40 +0000
committerArnaldo Carvalho de Melo <[email protected]>2018-02-16 14:55:45 -0300
commit256e751cac78739a4de2232450d3681b68b5845e (patch)
treec55385eb57df392c84ef5a8f2d830d08213ab37a /tools/perf/scripts/python/call-graph-from-sql.py
parente573e978fb12e16094c0b39fad3dc4e6b4803c2c (diff)
perf inject: Emit instruction records on ETM trace discontinuity
There may be discontinuities in the ETM trace stream due to overflows or ETM configuration for selective trace. This patch emits an instruction sample with the pending branch stack when a TRACE ON packet occurs indicating a discontinuity in the trace data. A new packet type CS_ETM_TRACE_ON is added, which is emitted by the low level decoder when a TRACE ON occurs. The higher level decoder flushes the branch stack when this packet is emitted. Signed-off-by: Robert Walker <[email protected]> Acked-by: Mathieu Poirier <[email protected]> Cc: [email protected] Cc: [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