[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20140319101907.GE1449@krava.brq.redhat.com>
Date: Wed, 19 Mar 2014 11:19:08 +0100
From: Jiri Olsa <jolsa@...hat.com>
To: Adrian Hunter <adrian.hunter@...el.com>
Cc: Arnaldo Carvalho de Melo <acme@...radead.org>,
Ingo Molnar <mingo@...nel.org>, linux-kernel@...r.kernel.org,
Don Zickus <dzickus@...hat.com>,
Stephane Eranian <eranian@...gle.com>,
Arnaldo Carvalho de Melo <acme@...hat.com>
Subject: Re: [PATCH 06/13] perf tools: Use tid in mmap/mmap2 events to find
maps
On Wed, Mar 19, 2014 at 09:13:38AM +0200, Adrian Hunter wrote:
> On 18.03.2014 23:25, Arnaldo Carvalho de Melo wrote:
> > From: Don Zickus <dzickus@...hat.com>
> >
> > Now that we can properly synthesize threads system-wide, make sure the
> > mmap and mmap2 events use tids instead of pids to locate their maps.
>
> This is a good change but it cannot go yet because it is dependent on Jiri's
> "perf tools: Share map groups within process" series.
>
> perf tools assume that threads share virtual memory. That means that a
> mapping created by one thread is visible to all threads in the thread group.
> That was implemented by putting all the maps on the thread group leader
> (pid == tid). The alternative is to share the map groups instead, which is
> what Jiri is doing.
right, this needs the sharing map groups changes
(or the 1/2 patch Don sent prior to this patch)
jirka
--
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