This series fixes the GCC 15 build failure reported by Ian Rogers [1] (thanks, Ian!).
Two follow-up refactoring patches use the packet’s recorded instruction size for stack events and centralize error checking for frontend instruction reads.
[1] https://lore.kernel.org/linux-perf-users/20261030-perf_cs_etm_fix_non_taken-...
Signed-off-by: Leo Yan leo.yan@arm.com --- Leo Yan (3): perf cs-etm: Initialize the Thumb instruction buffer perf cs-etm: Use the packet instruction size for stack events perf cs-etm: Check frontend instruction reads
tools/perf/util/cs-etm.c | 83 +++++++++++++++++++++++++++++------------------- 1 file changed, 51 insertions(+), 32 deletions(-) --- base-commit: 4af65363b11fc4fe65fcb497f68bbe4f3e3a4d2c change-id: 20261113-perf_fix_gcc15_failure-1e31233be802
Best regards,