Re: [PATCH v4 03/10] perf session: define bytes_transferred and bytes_compressed metrics

From: Alexey Budankov
Date: Thu Feb 28 2019 - 15:23:22 EST



On 28.02.2019 21:47, Arnaldo Carvalho de Melo wrote:
> Em Thu, Feb 28, 2019 at 12:02:09PM +0300, Alexey Budankov escreveu:
>>
>> Define bytes_transferred and bytes_compressed metrics to calculate
>> comp_ratio=transferred/compressed in the end of the data collection.
>>
>> bytes_transferred accumulates the amount of bytes that was captured from
>> the mmaped kernel buffers for compression. bytes_compressed accumulates
>> the amount of bytes that was received after applying compression to
>> move to a storage.
>
> Where is the code that updates these metrics? Follow up patch?

Yes, it is in [PATCH v4 07/10], specifically, record__zstd_compress() function.

Thanks,
Alexey

<SNIP>