[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20220906032906.21395-1-shangxiaojing@huawei.com>
Date: Tue, 6 Sep 2022 11:29:03 +0800
From: Shang XiaoJing <shangxiaojing@...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>,
<linux-perf-users@...r.kernel.org>, <linux-kernel@...r.kernel.org>
CC: <shangxiaojing@...wei.com>
Subject: [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(-)
--
2.17.1
Powered by blists - more mailing lists