]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
perf evlist: Avoid scanning all PMUs for evlist__new_default
authorIan Rogers <irogers@google.com>
Sun, 5 Oct 2025 18:24:22 +0000 (11:24 -0700)
committerNamhyung Kim <namhyung@kernel.org>
Wed, 15 Oct 2025 14:59:11 +0000 (23:59 +0900)
commit5bf6291113d2aaa559455a04ecc2c5e6396d05a0
treea7c87455c93b8815666e601a024965e6ed8ef7c9
parent468071acfc05135b9e24ed0beb535ac5c6cff945
perf evlist: Avoid scanning all PMUs for evlist__new_default

Rather than wildcard matching the cycles event specify only the core
PMUs. This avoids potentially loading unnecessary uncore PMUs.

Signed-off-by: Ian Rogers <irogers@google.com>
Tested-by: James Clark <james.clark@linaro.org>
Signed-off-by: Namhyung Kim <namhyung@kernel.org>
tools/perf/util/evlist.c