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/bin/stackcollapse-report | |
| parent | perf sched: Free thread->priv using priv_destructor (diff) | |
| download | linux-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/bin/stackcollapse-report')
0 files changed, 0 insertions, 0 deletions
