lkml.org 
[lkml]   [2020]   [Apr]   [23]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: [PATCH 2/4] perf tools: Move zstd_fini() to session deletion
Date
On Mon, 2020-04-20 at 10:54 +0200, Jiri Olsa wrote:
> On Fri, Apr 17, 2020 at 04:23:27PM +0300, Tommi Rantala wrote:
> > Move zstd_fini() call to perf_session__delete(), so that we always
> > cleanup the zstd state when deleting the session.
>
> it shold be orthogonal with zstd_init calls, which
> are not currently called within perf_session
>
> I guess zstd_initcould moved to perf_session__new,
> just need some nice way to pass rec->opts.comp_level

Makes sense, I'll post v2 later.
-Tommi

\
 
 \ /
  Last update: 2020-04-23 07:52    [W:0.045 / U:1.412 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site