]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
perf symbol: Reduce scope of elf__needs_adjust_symbols
authorIan Rogers <irogers@google.com>
Sat, 7 Feb 2026 08:24:24 +0000 (00:24 -0800)
committerNamhyung Kim <namhyung@kernel.org>
Fri, 13 Mar 2026 21:26:27 +0000 (14:26 -0700)
commited09766cd0bff29a537c6262a2dfca3643c2f6e6
tree3738429f636e4ce6a013417d434d76cb2f1c4b6e
parentc969a9d7bbf46f983c4a48566b3b2f7340b02296
perf symbol: Reduce scope of elf__needs_adjust_symbols

Function is only used by symsrc__init in symbol-elf.c, make static to
reduce scope. Switch to not passing the argument by value but as a
pointer.

Signed-off-by: Ian Rogers <irogers@google.com>
Signed-off-by: Namhyung Kim <namhyung@kernel.org>
tools/perf/util/symbol-elf.c
tools/perf/util/symbol.h