Skip to content

Perf fix two memory leakage

Yicong Yang linux-perf-users lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 3 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2perf header: Fix one memory leakage in perf_event__fprintf_event_update()tools/perf/util/header.c+3 -21 reply
2/2perf hisi-ptt: Fix one memory leakage in hisi_ptt_process_auxtrace_event()tools/perf/util/hisi-ptt.c+1 -01 reply

Reviews trailers per patch

All 2 patches have a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchIan RogersNamhyung Kim
SeriesR-b
1/2A-b
2/2A-b

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

Read the v1 thread

Cover letter [PATCH 0/2] Perf fix two memory leakage

From: Yicong Yang <[email protected]>

ASan reports two memory leakage in the raw trace dump mode perf report -D. One is in the framework and can be reproduced when using hisi_ptt and arm_spe, which is fixed in Patch 1/2. Another is in the hisi_ptt parser and fixed in Patch 2/2.

Yicong Yang (2):
perf header: Fix one memory leakage in
perf_event__fprintf_event_update()
perf hisi-ptt: Fix one memory leakage in
hisi_ptt_process_auxtrace_event()

 tools/perf/util/header.c   | 5 +++--
 tools/perf/util/hisi-ptt.c | 1 +
 2 files changed, 4 insertions(+), 2 deletions(-)
Signature · 1 line
2.24.0