[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20220908021141.27134-1-shangxiaojing@huawei.com>
Date: Thu, 8 Sep 2022 10:11:37 +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 0/4] perf: Clean up by adding helpers
Some clean up in builtin-lock.c, builtin-timechart.c, and
builtin-trace.c.
Shang XiaoJing (4):
perf trace: Use zalloc to save initialization of syscall_stats
perf lock: Add get_key_by_aggr_mode helper
perf timechart: Add create_pidcomm helper
perf timechart: Add p_state_end helper
tools/perf/builtin-lock.c | 129 ++++++++++++++-------------------
tools/perf/builtin-timechart.c | 65 +++++++++--------
tools/perf/builtin-trace.c | 5 +-
3 files changed, 88 insertions(+), 111 deletions(-)
--
2.17.1
Powered by blists - more mailing lists