]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
perf test: Don't fail if user rdpmc returns 0 when disabled
authorIan Rogers <irogers@google.com>
Wed, 12 Nov 2025 19:53:10 +0000 (11:53 -0800)
committerNamhyung Kim <namhyung@kernel.org>
Mon, 17 Nov 2025 07:24:00 +0000 (23:24 -0800)
commitefee18981aeebc14d6fa06f7556a6df1bd1acf92
tree44d6bd2aa1db8c9624f16b24e7569f6c9c41d024
parentd3726d4e5bd70e2c159ecb9feb43d3eaa6d76020
perf test: Don't fail if user rdpmc returns 0 when disabled

In certain hypervisor set ups the value 0 may be returned but this is
only erroneous if the user rdpmc isn't disabled.

Signed-off-by: Ian Rogers <irogers@google.com>
Signed-off-by: Namhyung Kim <namhyung@kernel.org>
tools/perf/tests/mmap-basic.c