Skip to content

Perf inject for ETM trace

Robert Walker linux-arm-kernel lkml 2 versions – New

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest3 patches 0 repliesNew
  2. v12 patches 6 repliesSuperseded

Changes in v2 from the cover letter

* Split documentation update into separate patch
* Added null pointer check
* Moved some changes from patch 2 to patch 1

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3perf tools: inject capabilitity for CoreSight tracestools/perf/util/cs-etm-decoder/cs-etm-decoder.c tools/perf/util/cs-etm-decoder/cs-etm-decoder.h tools/perf/util/cs-etm.c+436 -640 replies
2/3perf inject: Emit instruction records on ETM trace discontinuitytools/perf/util/cs-etm-decoder/cs-etm-decoder.c tools/perf/util/cs-etm-decoder/cs-etm-decoder.h tools/perf/util/cs-etm.c+67 -230 replies
3/3coresight: Update documentation for perf usageDocumentation/trace/coresight.txt+51 -00 replies

Reviews trailers per patch

2 of 3 patches have a Reviewed-by or Acked-by.

PatchSebastian PopMathieu Poirier
1/3Originally-by A-b
2/3A-b
3/3

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v2 thread

Cover letter [PATCH v2 0/3] Perf inject for ETM trace

Hi,

These patches add support for using perf inject to generate branch events, instruction events and branch stacks from CoreSight ETM traces.

They apply to linus's tree with the memory cleanup fix from
https://lkml.org/lkml/2018/1/25/432

Changes since v1:
* Split documentation update into separate patch
* Added null pointer check
* Moved some changes from patch 2 to patch 1

Regards

Rob Walker

Robert Walker (3):
perf tools: inject capabilitity for CoreSight traces perf inject: Emit instruction records on ETM trace discontinuity
coresight: Update documentation for perf usage

 Documentation/trace/coresight.txt               |  51 +++
 tools/perf/util/cs-etm-decoder/cs-etm-decoder.c |  74 +++-
 tools/perf/util/cs-etm-decoder/cs-etm-decoder.h |   2 +
 tools/perf/util/cs-etm.c                        | 472 +++++++++++++++++++++---
 4 files changed, 533 insertions(+), 66 deletions(-)
Signature · 1 line
2.7.4