[PATCH V2 0/6] coresight: Fix snapshot mode

Mathieu Poirier
2019-05-14T19:40:32Z

This is the second revision of a set that fix miscellaneous problems
preventing snapshot mode from working properly when CoreSight events are
used.

It applies cleanly on the coresight next branch[1] and will be posted
again when 5.2-rc1 comes out.

Best regards,
Mathieu

[1]. https://git.linaro.org/kernel/coresight.git/ branch next

Changes for V2:
* Drop requirement to make the perf AUX buffer the same size as the sink
buffers.
* Re-worked the user space algorithm to find '*head' and '*old".
* Fixed typo in changelogs (Leo).

Mathieu Poirier (6):
coresight: etb10: Properly set AUX buffer head in snapshot mode
coresight: tmc-etr: Properly set AUX buffer head in snapshot mode
coresight: tmc-etf: Properly set AUX buffer head in snapshot mode
coresight: tmc-etf: Fix snapshot mode update function
coresight: perf: Don't set the truncated flag in snapshot mode
perf tools: Properly set the value of 'old' and 'head' in snapshot
mode

drivers/hwtracing/coresight/coresight-etb10.c | 21 ++-
.../hwtracing/coresight/coresight-tmc-etf.c | 28 ++--
.../hwtracing/coresight/coresight-tmc-etr.c | 19 ++-
tools/perf/arch/arm/util/cs-etm.c | 124 +++++++++++++++++-
4 files changed, 165 insertions(+), 27 deletions(-)

--
2.17.1