lkml.org 
[lkml]   [2013]   [Jan]   [18]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH v6 15/18] perf: add PERF_RECORD_MISC_MMAP_DATA to RECORD_MMAP
On Tue, Jan 15, 2013 at 04:39:43PM +0100, Stephane Eranian wrote:
> Type of mapping was lost and made it hard for a tool
> to distinguish code vs. data mmaps. Perf has the ability
> to distinguish the two.
>
> Use a bit in the header->misc bitmask to keep track of
> the mmap type. If PERF_RECORD_MISC_MMAP_DATA is set then
> the mapping is not executable (!VM_EXEC). If not set, then
> the mapping is executable.
>
> Signed-off-by: Stephane Eranian <eranian@google.com>

Acked-by: Andi Kleen <ak@linux.intel.com>

-Andi


\
 
 \ /
  Last update: 2013-01-19 01:01    [W:0.907 / U:0.316 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site