[PATCH v2 0/2] perf cs-etm: Finish removal of ETM_OPT_*

From: James Clark

Date: Fri Mar 06 2026 - 09:08:57 EST


Finish removal of ETM_OPT_* defines so the coresight-pmu.h header can
by synced from the kernel.

Signed-off-by: James Clark <james.clark@xxxxxxxxxx>
---
Changes in v2:
- Access metadata through existing etm pointer (Leo)
- Link to v1: https://lore.kernel.org/r/20260306-james-perf-remove-etm_opt-v1-0-03c662380361@xxxxxxxxxx

---
James Clark (2):
perf cs-etm: Finish removal of ETM_OPT_*
tools: Sync coresight-pmu.h header

tools/include/linux/coresight-pmu.h | 24 -----------------
tools/perf/arch/arm/util/cs-etm.c | 14 ----------
tools/perf/util/cs-etm-decoder/cs-etm-decoder.c | 2 +-
tools/perf/util/cs-etm.c | 36 +++++++++----------------
tools/perf/util/cs-etm.h | 15 +++++++++++
5 files changed, 29 insertions(+), 62 deletions(-)
---
base-commit: b1718b0367ba31e8db273e3896ebd1707bcbe59e
change-id: 20260306-james-perf-remove-etm_opt-c0e9a768dce8

Best regards,
--
James Clark <james.clark@xxxxxxxxxx>