Skip to content

perf: Clean up and fix potential mem leak

Shang XiaoJing linux-perf-users lkml 2 versions – Applied

Status from this message: Thanks, applied to perf/urgent.

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

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

changes from v2 from the cover letter

- clear omissible free label in c2c_he_zalloc.

Patches in v2 Applied

#Subject and filesSizeRepliesApplied
1/3perf clean: Add same_cmd_with_prefix helpertools/perf/perf.c+9 -30 replies
2/3perf c2c: Add helpers to get counts of loads or storestools/perf/builtin-c2c.c+28 -371 reply
3/3perf c2c: Prevent potential memory leak in c2c_he_zalloctools/perf/builtin-c2c.c+9 -32 replies

Reviews trailers per patch

All 3 patches have a Reviewed-by or Acked-by.

PatchJiri OlsaLeo Yan
1/3A-b
2/3A-b R-b
3/3A-b R-b

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: Clean up and fix potential mem leak

Some clean up in perf.c and builtin-c2c.c.

changes from v2:
- clear omissible free label in c2c_he_zalloc.

Shang XiaoJing (3):
perf clean: Add same_cmd_with_prefix helper perf c2c: Add helpers to get counts of loads or stores perf c2c: Prevent potential memory leak in c2c_he_zalloc

 tools/perf/builtin-c2c.c | 77 +++++++++++++++++++---------------------
 tools/perf/perf.c        | 12 +++++--
 2 files changed, 46 insertions(+), 43 deletions(-)
Signature · 1 line
2.17.1