[PATCH v10 06/10] lib/pmu: do not try enabling perf counter access on arm64

Stephen Hemminger stephen at networkplumber.org
Fri Aug 1 23:49:51 CEST 2025


On Fri, 1 Aug 2025 12:21:05 +0200
Tomasz Duszynski <tduszynski at marvell.com> wrote:

> /proc/sys/kernel/perf_user_access attribute allow user process to access
> perf counters. Though in order to change it binary requires elevated
> capabilities or must be run as root. If that's not the case counter
> access remains disabled. Hence to avoid confusion log message that
> that warns user about that.
> 
> Signed-off-by: Tomasz Duszynski <tduszynski at marvell.com>
> ---

What do Linux perf tools do in this case?


More information about the dev mailing list