Messages in this thread | | | From | "Rantala, Tommi T. (Nokia - FI/Espoo)" <> | Subject | Re: [PATCH 2/4] perf tools: Move zstd_fini() to session deletion | Date | Thu, 23 Apr 2020 05:52:08 +0000 |
| |
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
| |