diff options
| author | Namhyung Kim <namhyung@kernel.org> | 2025-07-02 18:49:37 -0700 |
|---|---|---|
| committer | Namhyung Kim <namhyung@kernel.org> | 2025-07-03 11:31:43 -0700 |
| commit | dc3a80c98884d86389b3b572c50ccc7f502cd41b (patch) | |
| tree | a760579bf1619ca950cb94a892b7d55388146f26 /tools/perf/scripts/python/stackcollapse.py | |
| parent | aa9fdd106bab8c478d37eba5703c0950ad5c0d4f (diff) | |
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
