[PATCH 0/4] perf timechart: Fix memory leaks

From: Namhyung Kim

Date: Fri Jun 05 2026 - 19:17:03 EST


Hello,

This patchset fixes memory leaks in the perf timechart code.
I've extended and verified the timechart test with ASAN.

Thanks,
Namhyung


Namhyung Kim (4):
perf timechart: Release event samples at the end
perf timechart: Fix memory leaks during record
perf timechart: Fix memory leaks in draw_wakeups()
perf test: Update perf timechart test

tools/perf/builtin-timechart.c | 93 ++++++++++++++++++++++++-----
tools/perf/tests/shell/timechart.sh | 24 +++++---
2 files changed, 94 insertions(+), 23 deletions(-)

--
2.54.0.1032.g2f8565e1d1-goog