linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/5] perf: cs-etm: Print auxtrace info even if OpenCSD isn't linked
@ 2022-12-12 15:55 James Clark
  2022-12-12 15:55 ` [PATCH 1/5] perf: cs-etm: Print unknown header version as an error James Clark
                   ` (5 more replies)
  0 siblings, 6 replies; 7+ messages in thread
From: James Clark @ 2022-12-12 15:55 UTC (permalink / raw)
  To: linux-perf-users
  Cc: Al.Grant, James Clark, Peter Zijlstra, Ingo Molnar,
	Arnaldo Carvalho de Melo, Mark Rutland, Alexander Shishkin,
	Jiri Olsa, Namhyung Kim, John Garry, Will Deacon, Mike Leach,
	Leo Yan, Mathieu Poirier, Suzuki K Poulose, linux-kernel,
	linux-arm-kernel, coresight

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

-- 
2.25.1


^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2022-12-12 19:51 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-12-12 15:55 [PATCH 0/5] perf: cs-etm: Print auxtrace info even if OpenCSD isn't linked James Clark
2022-12-12 15:55 ` [PATCH 1/5] perf: cs-etm: Print unknown header version as an error James Clark
2022-12-12 15:55 ` [PATCH 2/5] perf: cs-etm: Remove unused stub methods James Clark
2022-12-12 15:55 ` [PATCH 3/5] perf: cs-etm: Tidy up auxtrace info header printing James Clark
2022-12-12 15:55 ` [PATCH 4/5] perf: cs-etm: Cleanup cs_etm__process_auxtrace_info() James Clark
2022-12-12 15:55 ` [PATCH 5/5] perf: cs-etm: Print auxtrace info even if OpenCSD isn't linked James Clark
2022-12-12 19:50 ` [PATCH 0/5] " Arnaldo Carvalho de Melo

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).