Re: [PATCH] perf: riscv: Fix selecting counters in legacy mode
From: patchwork-bot+linux-riscv
Date: Thu Aug 01 2024 - 12:43:44 EST
Hello:
This patch was applied to riscv/linux.git (fixes)
by Palmer Dabbelt <palmer@xxxxxxxxxxxx>:
On Mon, 29 Jul 2024 15:58:58 +0300 you wrote:
> It is required to check event type before checking event config.
> Events with the different types can have the same config.
> This check is missed for legacy mode code
>
> For such perf usage:
> sysctl -w kernel.perf_user_access=2
> perf stat -e cycles,L1-dcache-loads --
> driver will try to force both events to CYCLE counter.
>
> [...]
Here is the summary with links:
- perf: riscv: Fix selecting counters in legacy mode
https://git.kernel.org/riscv/c/941a8e9b7a86
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html