Re: [PATCH 0/4] perf: Clean up by adding helpers

From: Namhyung Kim
Date: Thu Sep 08 2022 - 03:08:31 EST


Hello,

On Wed, Sep 7, 2022 at 6:37 PM Shang XiaoJing <shangxiaojing@xxxxxxxxxx> wrote:
>
> 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

Acked-by: Namhyung Kim <namhyung@xxxxxxxxxx>

Thanks,
Namhyung


>
> 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
>