[PATCH v2 0/3] perf sched stats: Fix memory leaks

Namhyung Kim posted 3 patches 1 week, 4 days ago
tools/perf/builtin-sched.c | 15 ++++++++++-----
1 file changed, 10 insertions(+), 5 deletions(-)
[PATCH v2 0/3] perf sched stats: Fix memory leaks
Posted by Namhyung Kim 1 week, 4 days ago
Hello,

This is a small series to fix memory leaks in the perf sched stats.
I've tested the changes with the address sanitizer.

v2 changes)
 * remove invalid file closing  (Sashiko)


Thanks,
Namhyung


Namhyung Kim (3):
  perf sched: Add missing perf_session__delete()
  perf sched: Fix memory leaks in perf sched stats report
  perf sched: Free subcommand string after perf sched stats

 tools/perf/builtin-sched.c | 15 ++++++++++-----
 1 file changed, 10 insertions(+), 5 deletions(-)

-- 
2.55.0.795.g602f6c329a-goog
Re: [PATCH v2 0/3] perf sched stats: Fix memory leaks
Posted by Namhyung Kim 1 week, 2 days ago
On Mon, 13 Jul 2026 16:45:33 -0700, Namhyung Kim wrote:
> This is a small series to fix memory leaks in the perf sched stats.
> I've tested the changes with the address sanitizer.
> 
> v2 changes)
>  * remove invalid file closing  (Sashiko)
> 
> 
> [...]
Applied to perf-tools-next, thanks!

Best regards,
Namhyung
Re: [PATCH v2 0/3] perf sched stats: Fix memory leaks
Posted by Swapnil Sapkal 1 week, 3 days ago
Hello Namhyung,

On 14-07-2026 05:15, Namhyung Kim wrote:
> Hello,
> 
> This is a small series to fix memory leaks in the perf sched stats.
> I've tested the changes with the address sanitizer.
> 

Reviewed-and-tested-by: Swapnil Sapkal <swapnil.sapkal@amd.com>

> v2 changes)
>   * remove invalid file closing  (Sashiko)
> 
> 
> Thanks,
> Namhyung
> 
> 
> Namhyung Kim (3):
>    perf sched: Add missing perf_session__delete()
>    perf sched: Fix memory leaks in perf sched stats report
>    perf sched: Free subcommand string after perf sched stats
> 
>   tools/perf/builtin-sched.c | 15 ++++++++++-----
>   1 file changed, 10 insertions(+), 5 deletions(-)
> 
--
Thanks and Regards,
Swapnil