aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/stackcollapse.py
diff options
context:
space:
mode:
authorNamhyung Kim <namhyung@kernel.org>2025-07-02 18:49:37 -0700
committerNamhyung Kim <namhyung@kernel.org>2025-07-03 11:31:43 -0700
commitdc3a80c98884d86389b3b572c50ccc7f502cd41b (patch)
treea760579bf1619ca950cb94a892b7d55388146f26 /tools/perf/scripts/python/stackcollapse.py
parentperf sched: Free thread->priv using priv_destructor (diff)
downloadlinux-dc3a80c98884d86389b3b572c50ccc7f502cd41b.tar.gz
linux-dc3a80c98884d86389b3b572c50ccc7f502cd41b.zip
perf sched: Fix memory leaks in 'perf sched map'
It maintains per-cpu pointers for the current thread but it doesn't release the refcounts. Fixes: 5e895278697c014e ("perf sched: Move curr_thread initialization to perf_sched__map()") Reviewed-by: Ian Rogers <irogers@google.com> Tested-by: Ian Rogers <irogers@google.com> Link: https://lore.kernel.org/r/20250703014942.1369397-4-namhyung@kernel.org Signed-off-by: Namhyung Kim <namhyung@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions