[PATCH v2 01/14] perf cs-etm: Fix nVHE per-thread decoding

Leo Yan leo.yan at arm.com
Wed Aug 26 08:01:52 PDT 2026


On Fri, Aug 21, 2026 at 10:48:59AM +0100, James Clark wrote:
> pid_fmt is unset in per-thread mode because we don't need PIDs, so we
> can't use it as a hint to determine which EL the host is running at.
> That results in falling though to the next part where EL1 is treated as
> guest, which is wrong for nVHE.
> 
> Fix it by only returning a guest machine when run from perf kvm where a
> guest image would be provided, which matches existing behavior in other
> parts of Perf.
> 
> 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