Re: [PATCH v7 06/12] perf util: introduce Zstd based streaming compression API

2019-03-13 Thread Alexey Budankov
On 13.03.2019 17:37, Jiri Olsa wrote: > On Tue, Mar 12, 2019 at 08:23:42AM +0300, Alexey Budankov wrote: >> >> Implemented functions are based on Zstd streaming compression API. >> The functions are used in runtime to compress data that come from >> mmaped kernel buffer. zstd_init(), zstd_fini()

Re: [PATCH v7 06/12] perf util: introduce Zstd based streaming compression API

2019-03-13 Thread Jiri Olsa
On Tue, Mar 12, 2019 at 08:23:42AM +0300, Alexey Budankov wrote: > > Implemented functions are based on Zstd streaming compression API. > The functions are used in runtime to compress data that come from > mmaped kernel buffer. zstd_init(), zstd_fini() are used for > initialization and finalizati

[PATCH v7 06/12] perf util: introduce Zstd based streaming compression API

2019-03-11 Thread Alexey Budankov
Implemented functions are based on Zstd streaming compression API. The functions are used in runtime to compress data that come from mmaped kernel buffer. zstd_init(), zstd_fini() are used for initialization and finalization to allocate and deallocate internal zstd objects. zstd_compress_stream_