Re: [PATCH V2 1/8] perf evlist: Store 'overwrite' in struct perf_mmap

From: Jiri Olsa
Date: Wed Mar 07 2018 - 05:12:56 EST


On Tue, Mar 06, 2018 at 10:36:00AM -0500, kan.liang@xxxxxxxxxxxxxxx wrote:
> From: Kan Liang <kan.liang@xxxxxxxxxxxxxxx>
>
> It has been determined that the map is for overwrite mode
> (evlist->overwrite_mmap) or non-overwrite mode (evlist->mmap) when
> calling perf_evlist__alloc_mmap().
> Store the information in struct perf_mmap, which will be used later to
> simpler the perf_mmap__read*() interfaces.
>
> Signed-off-by: Kan Liang <kan.liang@xxxxxxxxxxxxxxx>

nice cleanup! for the patchset:

Acked-by: Jiri Olsa <jolsa@xxxxxxxxxx>

thanks,
jirka