This set fix miscellaneous problems that prevented perf's snapshot mode from working properly when CoreSight events are used.
Given the late state in the cycle, it is sent out for reviewing purposes and is not intended for the coming merge window.
Applies cleanly to coresight next[1].
Regards, Mathieu
[1]. https://git.linaro.org/kernel/coresight.git/log/?h=next
Mathieu Poirier (5): coresight: Fix buffer size 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' in snapshot mode docs: coresight: Document snapshot mode
Documentation/trace/coresight.txt | 41 ++++++++++++++++++- drivers/hwtracing/coresight/coresight-etb10.c | 31 +++++++++++++- .../hwtracing/coresight/coresight-tmc-etf.c | 34 +++++++++++++-- .../hwtracing/coresight/coresight-tmc-etr.c | 16 ++++++-- tools/perf/arch/arm/util/cs-etm.c | 12 +++++- 5 files changed, 124 insertions(+), 10 deletions(-)