[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20231207081635.8427-1-yangyicong@huawei.com>
Date: Thu, 7 Dec 2023 16:16:33 +0800
From: Yicong Yang <yangyicong@...wei.com>
To: <peterz@...radead.org>, <mingo@...hat.com>, <acme@...nel.org>,
<mark.rutland@....com>, <alexander.shishkin@...ux.intel.com>,
<jolsa@...nel.org>, <namhyung@...nel.org>, <irogers@...gle.com>,
<adrian.hunter@...el.com>, <linux-perf-users@...r.kernel.org>,
<linux-kernel@...r.kernel.org>
CC: <jonathan.cameron@...wei.com>, <hejunhao3@...wei.com>,
<yangyicong@...ilicon.com>, <linuxarm@...wei.com>
Subject: [PATCH 0/2] Perf fix two memory leakage
From: Yicong Yang <yangyicong@...ilicon.com>
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(-)
--
2.24.0
Powered by blists - more mailing lists