mbox series

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

Message ID 20190514194018.23420-1-mathieu.poirier@linaro.org (mailing list archive)
Headers show
Series coresight: Fix snapshot mode | expand

Message

Mathieu Poirier May 14, 2019, 7:40 p.m. UTC
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(-)

Comments

Leo Yan May 16, 2019, 3:09 p.m. UTC | #1
On Tue, May 14, 2019 at 01:40:12PM -0600, Mathieu Poirier wrote:
> 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.

I tested this patch set and it works as expected with ETF / ETR on Juno
board.

Tested-by: Leo Yan <leo.yan@linaro.org>

Thanks,
Leo Yan