Skip to content

perf: cs-etm: Print auxtrace info even if OpenCSD isn't linked

James Clark linux-arm-kernel linux-perf-users lkml 1 version Applied

Status from this message: Thanks, applied.

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest5 patches 1 replyApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/5perf: cs-etm: Print unknown header version as an errortools/perf/util/cs-etm.c+2 -100 replies
2/5perf: cs-etm: Remove unused stub methodstools/perf/util/cs-etm.h+2 -320 replies
3/5perf: cs-etm: Tidy up auxtrace info header printingtools/perf/util/cs-etm.c+10 -180 replies
4/5perf: cs-etm: Cleanup cs_etm__process_auxtrace_info()tools/perf/util/cs-etm.c+9 -170 replies
5/5perf: cs-etm: Print auxtrace info even if OpenCSD isn't linkedtools/perf/util/Build tools/perf/util/cs-etm-base.c tools/perf/util/cs-etm.c +1 more+191 -1660 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/5] perf: cs-etm: Print auxtrace info even if OpenCSD isn't linked

The auxtrace info header can be useful for debugging, and at the moment it's possible to record a file without OpenCSD linked but not view the header even though it should be possible to do.

This patchset tidies up some of the related functions and improves some of the error messages before making the above possible in the last commit.

Testing done:

* Compiled on x86 and Arm both with and without CORESIGHT=1
* Ran the Coresight tests

Applies to perf/core (0c3852adae8)

James Clark (5):
perf: cs-etm: Print unknown header version as an error
perf: cs-etm: Remove unused stub methods
perf: cs-etm: Tidy up auxtrace info header printing
perf: cs-etm: Cleanup cs_etm__process_auxtrace_info()
perf: cs-etm: Print auxtrace info even if OpenCSD isn't linked

 tools/perf/util/Build         |   1 +
 tools/perf/util/cs-etm-base.c | 174 ++++++++++++++++++++++++++++
 tools/perf/util/cs-etm.c      | 208 +++-------------------------------
 tools/perf/util/cs-etm.h      |  46 ++------
 4 files changed, 200 insertions(+), 229 deletions(-)
 create mode 100644 tools/perf/util/cs-etm-base.c
Signature · 1 line
2.25.1