Skip to content

perf sched stats: Fix memory leaks

Namhyung Kim linux-perf-users lkml sashiko-reviews 2 versions Applied

Status from this message: Applied to perf-tools-next, thanks!

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest3 patches 3 repliesApplied
  2. v13 patches 2 repliesSuperseded

Patches in v2 Applied

#Subject and filesSizeRepliesApplied
1/3perf sched: Add missing perf_session__delete()tools/perf/builtin-sched.c+1 -10 replies
2/3perf sched: Fix memory leaks in perf sched stats reporttools/perf/builtin-sched.c+4 -01 reply
3/3perf sched: Free subcommand string after perf sched statstools/perf/builtin-sched.c+5 -40 replies

Reviews trailers per patch

None of the 3 patches has a Reviewed-by or Acked-by.

PatchSwapnil Sapkal
SeriesReviewed-and-tested-by
1/3
2/3
3/3

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v2 thread

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

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(-)
Signature · 1 line
2.55.0.795.g602f6c329a-goog