lkml.org 
[lkml]   [2022]   [Sep]   [6]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH v2 0/3] perf: Clean up and fix potential mem leak
Em Tue, Sep 06, 2022 at 11:29:03AM +0800, Shang XiaoJing escreveu:
> Some clean up in perf.c and builtin-c2c.c.
>
> changes from v2:
> - clear omissible free label in c2c_he_zalloc.

Thanks, applied [12]/3 to perf/core for Linux v6.1.

- Arnaldo


> 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

--

- Arnaldo

\
 
 \ /
  Last update: 2022-09-06 14:44    [W:0.093 / U:0.024 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site