Re: [PATCH v2 2/4] perf record: implement -z=<level> and --mmap-flush=<thres> options

From: Jiri Olsa
Date: Tue Feb 12 2019 - 08:08:23 EST


On Mon, Feb 11, 2019 at 11:22:38PM +0300, Alexey Budankov wrote:

SNIP

> diff --git a/tools/perf/util/session.h b/tools/perf/util/session.h
> index d96eccd7d27f..0e14884f28b2 100644
> --- a/tools/perf/util/session.h
> +++ b/tools/perf/util/session.h
> @@ -35,6 +35,8 @@ struct perf_session {
> struct ordered_events ordered_events;
> struct perf_data *data;
> struct perf_tool *tool;
> + u64 bytes_transferred;
> + u64 bytes_compressed;

please add those in separate patch, so we can see how they are
incremented and displayed easily

thanks,
jirka