Commit a0f1e48
perf/x86/intel: Correct large PEBS flag check
[ Upstream commit 5e4e355 ]
current large PEBS flag check only checks if sample_regs_user contains
unsupported GPRs but doesn't check if sample_regs_intr contains
unsupported GPRs.
Of course, currently PEBS HW supports to sample all perf supported GPRs,
the missed check doesn't cause real issue. But it won't be true any more
after the subsequent patches support to sample SSP register. SSP
sampling is not supported by adaptive PEBS HW and it would be supported
until arch-PEBS HW. So correct this issue.
Fixes: a47ba4d ("perf/x86: Enable free running PEBS for REGS_USER/INTR")
Signed-off-by: Dapeng Mi <dapeng1.mi@linux.intel.com>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Link: https://patch.msgid.link/20251029102136.61364-5-dapeng1.mi@linux.intel.com
Signed-off-by: Sasha Levin <sashal@kernel.org>1 parent a7abd40 commit a0f1e48
1 file changed
+3
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3872 | 3872 | | |
3873 | 3873 | | |
3874 | 3874 | | |
3875 | | - | |
| 3875 | + | |
| 3876 | + | |
| 3877 | + | |
3876 | 3878 | | |
3877 | 3879 | | |
3878 | 3880 | | |
| |||
0 commit comments