Re: [PATCH 2/6] perf: Update mmap2 interface with protection and flag bits

2014-04-08 Thread Namhyung Kim
On Wed, 09 Apr 2014 11:17:44 +0900, Namhyung Kim wrote: > So you need to synthesize a PERF_RECORD_MMAP2 event then. The > mmap_event and mmap2_event shares same fields util ->pgoff only. So > copying to mmap.filename will overwrite other bits in mmap2. Oops, missed patch 3/3 already does it. So

Re: [PATCH 2/6] perf: Update mmap2 interface with protection and flag bits

2014-04-08 Thread Namhyung Kim
On Mon, 24 Mar 2014 15:34:32 -0400, Don Zickus wrote: > The kernel piece passes more info now. Update the perf tool to reflect > that and adjust the synthesized maps to play along. > > Signed-off-by: Don Zickus > --- > tools/perf/util/event.c | 23 +-- > tools/perf/util/eve

[PATCH 2/6] perf: Update mmap2 interface with protection and flag bits

2014-03-24 Thread Don Zickus
The kernel piece passes more info now. Update the perf tool to reflect that and adjust the synthesized maps to play along. Signed-off-by: Don Zickus --- tools/perf/util/event.c | 23 +-- tools/perf/util/event.h | 2 ++ tools/perf/util/machine.c | 4 +++- tools/perf/uti