summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/stackcollapse.py
diff options
context:
space:
mode:
authorIan Rogers <irogers@google.com>2025-06-24 12:03:24 -0700
committerNamhyung Kim <namhyung@kernel.org>2025-07-02 19:05:27 -0700
commite793e2c0f188fb7a7998224f14241c0d87df5249 (patch)
treecbc1080a3b827151f39bca664a1c74c363c728b1 /tools/perf/scripts/python/stackcollapse.py
parentd1f18106778b4d1af5ca6bde191e05e075c7e697 (diff)
perf dso: With ref count checking, avoid dso_data holding dso live
With the dso_data embedded in a dso there is a reference counted pointer to the dso rather than using container_of with reference count checking. This data can hold the dso live meaning that no dso__put ever deletes it. Add a check for this case and close the dso_data when it happens. There isn't an infinite loop as the dso_data clears the file descriptor prior to putting on the dso. Signed-off-by: Ian Rogers <irogers@google.com> Link: https://lore.kernel.org/r/20250624190326.2038704-5-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