aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/tests/shell/lib/perf_json_output_lint.py
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/tests/shell/lib/perf_json_output_lint.py
parentc6907863519cf97ee09653cc8ec338a2328c2b6f (diff)
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/tests/shell/lib/perf_json_output_lint.py')
0 files changed, 0 insertions, 0 deletions