[PATCH v3 00/14] perf cs-etm: Fix bogus branch samples on exceptions

Namhyung Kim namhyung at kernel.org
Fri Nov 6 13:32:31 PST 2026


On Fri, 30 Oct 2026 15:13:07 +0000, Leo Yan wrote:
> CoreSight currently models exception entry by changing the preceding
> instruction range into a taken branch. This can give an IRQ the source
> PC of an instruction that already retired and overwrite a real branch
> immediately before the exception.
> 
> For an untaken B.LS followed by an IRQ, perf script currently reports:
> 
> [...]

Applied to perf-tools-next, thanks!

Best regards
Namhyung





More information about the linux-arm-kernel mailing list