[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20130118232543.GN4051@tassilo.jf.intel.com>
Date: Fri, 18 Jan 2013 15:25:43 -0800
From: Andi Kleen <ak@...ux.intel.com>
To: Stephane Eranian <eranian@...gle.com>
Cc: linux-kernel@...r.kernel.org, peterz@...radead.org, mingo@...e.hu,
acme@...hat.com, jolsa@...hat.com, namhyung.kim@....com
Subject: Re: [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@...gle.com>
Acked-by: Andi Kleen <ak@...ux.intel.com>
-Andi
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists