[PATCH v2 2/3] perf inject: Emit instruction records on ETM trace discontinuity

2018-02-14 Thread Robert Walker
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

[PATCH v2 2/3] perf inject: Emit instruction records on ETM trace discontinuity

2018-02-14 Thread Robert Walker
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