Decoding ETE already works because it is a superset of ETMv4, but if any new packet types are found then they will be ignored by the decoder. This patchset creates an ETE decoder which can output the new packets and saves a new register that is required. No new packet types are handled by perf yet, as this can be added in the future.
This set applies on top of "perf cs-etm: Support TRBE (unformatted decoding)" on perf/core.
James Clark (6): perf cs-etm: Refactor initialisation of decoder params. perf cs-etm: Initialise architecture based on TRCIDR1 perf cs-etm: Save TRCDEVARCH register perf cs-etm: Update OpenCSD decoder for ETE perf cs-etm: Create ETE decoder perf cs-etm: Print the decoder name
tools/build/feature/test-libopencsd.c | 4 +- tools/perf/arch/arm/util/cs-etm.c | 13 +- .../perf/util/cs-etm-decoder/cs-etm-decoder.c | 151 ++++++++---------- .../perf/util/cs-etm-decoder/cs-etm-decoder.h | 8 + tools/perf/util/cs-etm.c | 54 ++++++- tools/perf/util/cs-etm.h | 6 +- 6 files changed, 147 insertions(+), 89 deletions(-)