Re: [PATCH 04/40] perf tools: Create separate mmap for dummy tracking event

2015-05-18 Thread Namhyung Kim
Hi Jiri, On Mon, May 18, 2015 at 08:07:13PM +0200, Jiri Olsa wrote: > On Mon, May 18, 2015 at 09:30:19AM +0900, Namhyung Kim wrote: > > SNIP > > > -static int perf_evlist__alloc_mmap(struct perf_evlist *evlist) > > +static int perf_evlist__alloc_mmap(struct perf_evlist *evlist, bool > > track_m

Re: [PATCH 04/40] perf tools: Create separate mmap for dummy tracking event

2015-05-18 Thread Jiri Olsa
On Mon, May 18, 2015 at 09:30:19AM +0900, Namhyung Kim wrote: SNIP > -static int perf_evlist__alloc_mmap(struct perf_evlist *evlist) > +static int perf_evlist__alloc_mmap(struct perf_evlist *evlist, bool > track_mmap) > { > evlist->nr_mmaps = cpu_map__nr(evlist->cpus); > if (cpu_map

[PATCH 04/40] perf tools: Create separate mmap for dummy tracking event

2015-05-17 Thread Namhyung Kim
When indexed data file support is enabled, a dummy tracking event will be used to track metadata (like task, comm and mmap events) for a session and actual samples will be recorded in separate (intermediate) files and then merged (with index table). Provide separate mmap to the dummy tracking even