]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
perf tools: Fix split kallsyms DSO counting
authorNamhyung Kim <namhyung@kernel.org>
Tue, 2 Dec 2025 23:57:15 +0000 (15:57 -0800)
committerNamhyung Kim <namhyung@kernel.org>
Wed, 3 Dec 2025 05:59:14 +0000 (21:59 -0800)
commitad0b9c4865b98dc37f4d606d26b1c19808796805
tree31b71179b232b262bd87f961c83769a19fa865e7
parent7da4d60db33cccd8f4c445ab20bba71531435ee5
perf tools: Fix split kallsyms DSO counting

It's counted twice as it's increased after calling maps__insert().  I
guess we want to increase it only after it's added properly.

Reviewed-by: Ian Rogers <irogers@google.com>
Fixes: 2e538c4a1847291cf ("perf tools: Improve kernel/modules symbol lookup")
Signed-off-by: Namhyung Kim <namhyung@kernel.org>
tools/perf/util/symbol.c