]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
perf record: Use evlist__new_default when no events specified
authorIan Rogers <irogers@google.com>
Sun, 5 Oct 2025 18:24:20 +0000 (11:24 -0700)
committerNamhyung Kim <namhyung@kernel.org>
Wed, 15 Oct 2025 14:59:11 +0000 (23:59 +0900)
commit3d3056a10504fab881bdba952b9b37bc09502c2c
tree9250e2605203d0c5657743181ad64affe072e1d5
parentb1c5efbfd92eb84d6d10cccc6b4edee491f20de1
perf record: Use evlist__new_default when no events specified

Rather than distributing the code doing similar things to
evlist__new_default, use the one implementation so that paranoia and
wildcard scanning can be optimized.

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/builtin-record.c