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

2018-03-07 Thread Jiri Olsa
On Tue, Mar 06, 2018 at 10:36:00AM -0500, kan.li...@linux.intel.com wrote: > From: Kan Liang > > 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 pe

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

2018-03-06 Thread kan . liang
From: Kan Liang 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