]> www.infradead.org Git - users/jedix/linux-maple.git/commit
perf report: Use map_symbol__copy() when copying callchains
authorNamhyung Kim <namhyung@kernel.org>
Fri, 7 Mar 2025 06:12:49 +0000 (22:12 -0800)
committerNamhyung Kim <namhyung@kernel.org>
Fri, 7 Mar 2025 22:06:56 +0000 (14:06 -0800)
commite242df05ee5f2ab0dce9a0811f93024d367e3c47
treec94d5fd3a13c48cb4113c86ab8a1a1999759c9d6
parent4c3f09e35ca999f69b623d94bf185fe090878296
perf report: Use map_symbol__copy() when copying callchains

It seems there are places to miss updating refcount of maps.
Let's use map_symbol__copy() helper to properly copy them with
refcounts updated.

Link: https://lore.kernel.org/r/20250307061250.320849-1-namhyung@kernel.org
Signed-off-by: Namhyung Kim <namhyung@kernel.org>
tools/perf/util/callchain.c