[PATCH v2 0/9] Support ETE decoding

From: James Clark
Date: Fri Aug 06 2021 - 09:41:20 EST


Changes since v1:
* Re-implement with a new magic number instead of piggybacking on ETMv4
* Improve comments and function name around cs_etm_decoder__get_etmv4_arch_ver()
* Add a warning for unrecognised magic numbers
* Split typo fix into new commit
* Add Leo's reviewed-by tags
* Create a new struct for ETE config (cs_ete_trace_params) instead of re-using ETMv4 config

Applies to perf/core f3c33cbd922
Also available at https://gitlab.arm.com/linux-arm/linux-jc/-/tree/james-ete-v2

James Clark (9):
perf cs-etm: Refactor initialisation of decoder params.
perf cs-etm: Initialise architecture based on TRCIDR1
perf cs-etm: Refactor out ETMv4 header saving
perf cs-etm: Save TRCDEVARCH register
perf cs-etm: Fix typo
perf cs-etm: Update OpenCSD decoder for ETE
perf cs-etm: Create ETE decoder
perf cs-etm: Print the decoder name
perf cs-etm: Show a warning for an unknown magic number

tools/build/feature/test-libopencsd.c | 4 +-
tools/perf/arch/arm/util/cs-etm.c | 97 ++++++++----
.../perf/util/cs-etm-decoder/cs-etm-decoder.c | 148 ++++++++----------
.../perf/util/cs-etm-decoder/cs-etm-decoder.h | 13 ++
tools/perf/util/cs-etm.c | 43 ++++-
tools/perf/util/cs-etm.h | 10 ++
6 files changed, 200 insertions(+), 115 deletions(-)

--
2.28.0