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

From: Namhyung Kim

Date: Fri Nov 06 2026 - 16:32:43 EST


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