summaryrefslogtreecommitdiff
path: root/scripts/Makefile.thinlto
diff options
context:
space:
mode:
authorTengda Wu <wutengda@huaweicloud.com>2026-07-01 03:53:35 +0000
committerNamhyung Kim <namhyung@kernel.org>2026-07-09 17:44:54 -0700
commitd3c9fca531e2465f3a8f585965f3d10e1a6595ff (patch)
tree37b1bd34f23a720512f2e2d116c1ef247a5093a0 /scripts/Makefile.thinlto
parent831068eed9202ece884ddace8fbb262d900fa1b7 (diff)
perf capstone: Fix kernel map reference count leak
In print_capstone_detail(), maps__find() is used to locate the kernel map. This function increments the reference count of the found map object. However, the current implementation fails to call map__put() after the map is no longer needed, leading to a reference count leak. Fix this by adding a map__put(map) call to properly release the reference after use. Fixes: 92dfc59463d5 ("perf annotate: Add symbol name when using capstone") Signed-off-by: Tengda Wu <wutengda@huaweicloud.com> Signed-off-by: Namhyung Kim <namhyung@kernel.org>
Diffstat (limited to 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions