From: sashiko-bot@kernel.org
To: "James Clark" <james.clark@linaro.org>
Cc: linux-perf-users@vger.kernel.org
Subject: Re: [PATCH v5 01/19] perf cs-etm: Fix nVHE per-thread decoding
Date: Mon, 30 Nov 2026 13:12:56 +0000 [thread overview]
Message-ID: <sashiko-outbox-241174@kernel.org> (raw)
In-Reply-To: <20261130-james-cs-unformatted-per-thread-fix-v5-1-f1bcc4d18c9b@linaro.org>
Thank you for your contribution! Sashiko AI review found 1 potential
issue to consider:
- [Low] perf cs-etm: missing Fixes trailer for nVHE per-thread decoding
fix
--
commit 7661f95bfcb8545013cb82a7080f3362bfd5869b
Author: James Clark <james.clark@linaro.org>
> perf cs-etm: Fix nVHE per-thread decoding
>
> 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. The exception is when pid_fmt shows that the host is
> running at EL2 (VHE). Then EL1 is always a guest, so keep using the guest
> machine rather than decoding guest trace with the host kernel maps.
>
> Reviewed-by: Leo Yan <leo.yan@arm.com>
> Tested-by: Leo Yan <leo.yan@arm.com>
> Signed-off-by: James Clark <james.clark@linaro.org>
[Severity: Low]
This fixes a regression in cs_etm__get_machine() where EL1 trace was
assumed to belong to a guest whenever pid_fmt was not
CS_ETM_PIDFMT_CTXTID. Should this include:
Fixes: 8d3031d39fe8 ("perf cs-etm: Track exception level")
--
Sashiko AI review · https://sashiko.dev/#/patchset/20261130-james-cs-unformatted-per-thread-fix-v5-0-f1bcc4d18c9b@linaro.org?part=1
next prev parent reply other threads:[~2026-11-30 13:12 UTC|newest]
Thread overview: 26+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-11-30 12:55 [PATCH v5 00/19] perf cs-etm: Per-thread mode fixes and snapshot wrap support James Clark
2026-11-30 12:55 ` [PATCH v5 01/19] perf cs-etm: Fix nVHE per-thread decoding James Clark
2026-11-30 13:12 ` sashiko-bot [this message]
2026-11-30 12:55 ` [PATCH v5 02/19] perf cs-etm: Warn for invalid timestamp option James Clark
2026-11-30 12:55 ` [PATCH v5 03/19] perf cs-etm: Turn on context packet timestamps in per-thread mode James Clark
2026-11-30 12:55 ` [PATCH v5 04/19] perf cs-etm: Use per-CPU queues for " James Clark
2026-11-30 13:20 ` sashiko-bot
2026-11-30 12:55 ` [PATCH v5 05/19] perf test: cs-etm: Increase window size in disassembly test James Clark
2026-11-30 12:55 ` [PATCH v5 06/19] perf cs-etm: Don't drop previous target for kernel samples James Clark
2026-11-30 12:55 ` [PATCH v5 07/19] perf python: Expose sample instruction length James Clark
2026-11-30 12:55 ` [PATCH v5 08/19] perf cs-etm: Use instruction length in disassembly script James Clark
2026-11-30 12:55 ` [PATCH v5 09/19] perf cs-etm: Increase default timestamp generation period James Clark
2026-11-30 12:55 ` [PATCH v5 10/19] perf auxtrace: Turn Intel BTS snapshot search into a generic one James Clark
2026-11-30 12:55 ` [PATCH v5 11/19] perf arm-spe: Use generic snapshot search James Clark
2026-11-30 12:55 ` [PATCH v5 12/19] perf auxtrace: intel-pt: Use common snapshot pointer fixup James Clark
2026-11-30 12:55 ` [PATCH v5 13/19] perf cs-etm: Queue partial AUX records James Clark
2026-11-30 13:14 ` sashiko-bot
2026-11-30 12:55 ` [PATCH v5 14/19] perf cs-etm: Don't print missing buffers in snapshot mode James Clark
2026-11-30 12:55 ` [PATCH v5 15/19] perf auxtrace: cs-etm: Capture wrapped snapshots James Clark
2026-11-30 12:55 ` [PATCH v5 16/19] perf test: Allow infinite named_thread loops James Clark
2026-11-30 12:55 ` [PATCH v5 17/19] perf test: cs-etm: Add test for per-thread mode James Clark
2026-11-30 12:55 ` [PATCH v5 18/19] perf test: cs-etm: Test multiple per-thread threads James Clark
2026-11-30 13:13 ` sashiko-bot
2026-11-30 12:55 ` [PATCH v5 19/19] perf test: cs-etm: Increase snapshot size James Clark
2026-11-30 13:07 ` sashiko-bot
2026-11-30 13:20 ` [PATCH v5 00/19] perf cs-etm: Per-thread mode fixes and snapshot wrap support sashiko-bot
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=sashiko-outbox-241174@kernel.org \
--to=sashiko-bot@kernel.org \
--cc=james.clark@linaro.org \
--cc=linux-perf-users@vger.kernel.org \
--cc=sashiko-reviews@lists.linux.dev \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox