summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/stackcollapse.py
diff options
context:
space:
mode:
authorIan Rogers <irogers@google.com>2025-06-24 12:03:21 -0700
committerNamhyung Kim <namhyung@kernel.org>2025-07-02 19:05:26 -0700
commit63a088e999de3f431f87d9a367933da894ddb613 (patch)
treee302190e0d694b945812d0b485841d7317b0f60d /tools/perf/scripts/python/stackcollapse.py
parentd4ae1620c6209661ced9244d058f3582d1847dca (diff)
perf dso: Add missed dso__put to dso__load_kcore
The kcore loading creates a set of list nodes that have reference counted references to maps of the kcore. The list node freeing in the success path wasn't releasing the maps, add the missing puts. It is unclear why this leak was being missed by leak sanitizer. Fixes: 83720209961f ("perf map: Move map list node into symbol") Signed-off-by: Ian Rogers <irogers@google.com> Link: https://lore.kernel.org/r/20250624190326.2038704-2-irogers@google.com Signed-off-by: Namhyung Kim <namhyung@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions