Re: [PATCH 03/10] perf record: Synthesize non-exec MMAP records when--data used

From: Vince Weaver
Date: Mon Nov 11 2013 - 15:54:44 EST


On Mon, 11 Nov 2013, David Ahern wrote:

> [Added Vince]
>
> On 11/11/13, 1:22 PM, Arnaldo Carvalho de Melo wrote:
> > When perf_event_attr.mmap_data is set the kernel will generate
> > PERF_RECORD_MMAP events when non-exec (data, SysV mem) mmaps are
> > created, so we need to synthesize from /proc/pid/maps for existing
> > threads
>
> Seems like that should be documented in the man pages:
>
> [dsa@MacBook perf]$ egrep -r mmap_data Documentation/
> [dsa@MacBook perf]$
>
> Vince: where are you keeping the man page you are putting together?

It's in the official linux manpage git tree (perf_event_open.2) and
has been included in the last few manpage releases.

There is a blurb on PERF_RECORD_MMAP, though it definitely could use a
bit more elaboration.

Vince
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/