]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
perf script: Fix build by removing unused evsel_script()
authorJames Clark <james.clark@linaro.org>
Fri, 14 Nov 2025 14:06:18 +0000 (14:06 +0000)
committerNamhyung Kim <namhyung@kernel.org>
Sat, 15 Nov 2025 17:44:04 +0000 (09:44 -0800)
commit86ce2a29dd9a3564fd7be584c8bb7ced28f7ca02
treec35ebe18af044084b9138f829251f0b097941d0d
parentc1932fb85af8e51ac9f6bd9947145b06c716106e
perf script: Fix build by removing unused evsel_script()

The evsel_script() function is unused since the linked commit. Fix the
build by removing it.

Fixes the following compilation error:

  static inline struct evsel_script *evsel_script(struct evsel *evsel)
                                     ^

builtin-script.c:347:36: error: unused function 'evsel_script' [-Werror,-Wunused-function]
Fixes: 3622990efaab ("perf script: Change metric format to use json metrics")
Signed-off-by: James Clark <james.clark@linaro.org>
Reviewed-by: Ian Rogers <irogers@google.com>
Signed-off-by: Namhyung Kim <namhyung@kernel.org>
tools/perf/builtin-script.c