[PATCH v3 06/18] perf cs-etm: Don't drop previous target for kernel samples

Leo Yan leo.yan at arm.com
Wed Nov 4 08:38:59 PST 2026


On Mon, Nov 02, 2026 at 12:15:20PM +0000, James Clark wrote:
> The branch target of the previous sample is used as the start of the
> range to disassemble, but if that sample's DSO is "[unknown]" then we'll
> drop it even though it's useful information. This happens when recording
> userspace only. Save the address earlier for "Trace On" samples, before
> we get to the early exit condition for unknown DSOs.
> 
> In a later commit to change the default timestamp interval, trace will
> be collected that triggers this issue, so fix it now.
> 
> Signed-off-by: James Clark <james.clark at linaro.org>

Reviewed-by: Leo Yan <leo.yan at arm.com>



More information about the linux-arm-kernel mailing list