]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
perf pmu: Use fd rather than FILE from new_alias
authorIan Rogers <irogers@google.com>
Sun, 5 Oct 2025 18:24:11 +0000 (11:24 -0700)
committerNamhyung Kim <namhyung@kernel.org>
Wed, 15 Oct 2025 14:59:10 +0000 (23:59 +0900)
commit7f20b3dd93f6a10cd742c091f047464185b09eed
tree655dd38231e8dcef0b6cf8a6ed15bf8fb76b1eb9
parent5f68451a9356522920928391b84c6c21fd92c903
perf pmu: Use fd rather than FILE from new_alias

The FILE argument was necessary for the scanner but now that
functionality is not being used we can switch to just using
io__getline which should cut down on stdio buffer usage.

Tested-by: Thomas Richter <tmricht@linux.ibm.com>
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/pmu.c