[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20160128194222.GA12456@krava.brq.redhat.com>
Date: Thu, 28 Jan 2016 20:42:22 +0100
From: Jiri Olsa <jolsa@...hat.com>
To: Arnaldo Carvalho de Melo <acme@...hat.com>
Cc: Wang Nan <wangnan0@...wei.com>, jolsa@...nel.org,
linux-kernel@...r.kernel.org,
Jérémie Galarneau
<jeremie.galarneau@...icios.com>, Zefan Li <lizefan@...wei.com>,
pi3orama@....com
Subject: Re: [PATCH v2] perf data: Fix releasing event_class
On Thu, Jan 28, 2016 at 05:09:30PM -0200, Arnaldo Carvalho de Melo wrote:
SNIP
> > however even with this patch I can see perf report getting
> > more memory every time it reloads the data.. either there's
> > something else, or I'm looking at it wrong ;-)
>
> So, for the last delete, IIRC that teardown was removed because it made
> the exit operation to be slower than just not calling
> perf_evlist__delete (or was it perf_session__delete, don't recall right
> now, probably the later, because it would delete all the threads, mmaps,
> etc).
>
> But yeah, for switching perf.data files on the fly, we better free all
> that up...
ook, I'll check some more and queue it in my next post
jirka
Powered by blists - more mailing lists