commit | 2fe85427e3bf65d791700d065132772fc26e4d75 | [log] [tgz] |
---|---|---|
author | Stephane Eranian <[email protected]> | Thu Jan 24 16:10:39 2013 +0100 |
committer | Arnaldo Carvalho de Melo <[email protected]> | Mon Apr 01 12:19:02 2013 -0300 |
tree | 8561cc61ebf26c519dec1ea0340e5af295632ebb | |
parent | 9ad64c0f481c37a63dd39842a0fd264bee44a097 [diff] |
perf: Add PERF_RECORD_MISC_MMAP_DATA to RECORD_MMAP 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 <[email protected]> Cc: [email protected] Cc: [email protected] Cc: [email protected] Cc: [email protected] Cc: [email protected] Link: http://lkml.kernel.org/r/[email protected] Signed-off-by: Ingo Molnar <[email protected]> Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>