perf parse-events: Remove unused FILE input argument to scanner
authorIan Rogers <irogers@google.com>
Sun, 5 Oct 2025 18:24:10 +0000 (11:24 -0700)
committerNamhyung Kim <namhyung@kernel.org>
Wed, 15 Oct 2025 14:59:10 +0000 (23:59 +0900)
commit5f68451a9356522920928391b84c6c21fd92c903
tree1639b93f1db974d057bacba2b4ca5e7267e3ee6a
parent84bae3af20d0b6c5d23b4f7558c2eaa7d59c9157
perf parse-events: Remove unused FILE input argument to scanner

Now the events file isn't directly parsed from a FILE but stored in a
string prior to parsing, remove the FILE argument to the associated
scanner functions as they only ever pass NULL.

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/arch/x86/util/intel-pt.c
tools/perf/tests/parse-events.c
tools/perf/tests/pmu.c
tools/perf/util/parse-events.c
tools/perf/util/parse-events.h
tools/perf/util/pmu.c