summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/stackcollapse.py
diff options
context:
space:
mode:
authorIan Rogers <irogers@google.com>2025-06-24 12:03:22 -0700
committerNamhyung Kim <namhyung@kernel.org>2025-07-02 19:05:26 -0700
commit7a8557fc4aa12cffc97e5c8a1b8b8fd0275464b2 (patch)
tree9c6feb5b5886b4cf71ce2e19383444b85b741de5 /tools/perf/scripts/python/stackcollapse.py
parent63a088e999de3f431f87d9a367933da894ddb613 (diff)
perf test code-reading: Avoid a leak of cpus and threads
The perf_evlist__set_maps does the necessary gets on the arguments passed, so the reference count bumping isn't necessary and creates a memory leak. Signed-off-by: Ian Rogers <irogers@google.com> Link: https://lore.kernel.org/r/20250624190326.2038704-3-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