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

Robert Walker robert.walker at arm.com
Wed Feb 14 03:24:38 PST 2018


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(-)

-- 
2.7.4




More information about the linux-arm-kernel mailing list