lkml.org 
[lkml]   [2023]   [Mar]   [20]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Date
SubjectRe: [PATCH 0/2] perf kvm: Fix memory leak
On Sun, Mar 19, 2023 at 11:16 PM Leo Yan <leo.yan@linaro.org> wrote:
>
> This patch seris is to address memory leak issues in perf kvm.
>
> The first patch introduces refcnt in structure kvm_info, so we can avoid
> memory leak for it.
>
> The second patch explicitly delete histograms entries before program
> exiting rather than relying on kernel releasing memory space.
>

Series:
Acked-by: Ian Rogers <irogers@google.com>

Thanks,
Ian

> Leo Yan (2):
> perf kvm: Support refcnt in structure kvm_info
> perf kvm: Delete histograms entries before exiting
>
> tools/perf/builtin-kvm.c | 6 ++++--
> tools/perf/util/hist.c | 5 +++++
> tools/perf/util/kvm-stat.h | 37 +++++++++++++++++++++++++++++++++++++
> 3 files changed, 46 insertions(+), 2 deletions(-)
>
> --
> 2.39.2
>

\
 
 \ /
  Last update: 2023-03-27 01:09    [W:0.050 / U:0.328 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site