aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/bin/flamegraph-record
diff options
context:
space:
mode:
authorYang Jihong <yangjihong1@huawei.com>2024-02-06 08:32:25 +0000
committerNamhyung Kim <namhyung@kernel.org>2024-02-09 14:08:41 -0800
commitef76a5af819743d405674f6de5d0e63320ac653e (patch)
treef10af53f8f3054e4bfbbf7593e9eeb1d32ff7809 /tools/perf/scripts/python/bin/flamegraph-record
parentperf sched: Move start_work_mutex and work_done_wait_mutex initialization to ... (diff)
downloadlinux-ef76a5af819743d405674f6de5d0e63320ac653e.tar.gz
linux-ef76a5af819743d405674f6de5d0e63320ac653e.zip
perf sched: Fix memory leak in perf_sched__map()
perf_sched__map() needs to free memory of map_cpus, color_pids and color_cpus in normal path and rollback allocated memory in error path. Signed-off-by: Yang Jihong <yangjihong1@huawei.com> Signed-off-by: Namhyung Kim <namhyung@kernel.org> Link: https://lore.kernel.org/r/20240206083228.172607-3-yangjihong1@huawei.com
Diffstat (limited to 'tools/perf/scripts/python/bin/flamegraph-record')
0 files changed, 0 insertions, 0 deletions