Re: [PATCH 5/5] perf tools: Share process map groups within process threads

2014-03-17 Thread Jiri Olsa
On Mon, Mar 17, 2014 at 04:25:15PM +0900, Namhyung Kim wrote: > On Fri, 14 Mar 2014 15:00:06 +0100, Jiri Olsa wrote: > > + if (!mg) { > > + struct thread *leader = thread__get_leader(thread); > > + > > + if (!leader) > > + return NULL; > > + > > + i

Re: [PATCH 5/5] perf tools: Share process map groups within process threads

2014-03-17 Thread Namhyung Kim
On Fri, 14 Mar 2014 15:00:06 +0100, Jiri Olsa wrote: > + if (!mg) { > + struct thread *leader = thread__get_leader(thread); > + > + if (!leader) > + return NULL; > + > + if (leader->mg) > + mg = leader->mg; > +

Re: [PATCH 5/5] perf tools: Share process map groups within process threads

2014-03-14 Thread Arnaldo Carvalho de Melo
Em Fri, Mar 14, 2014 at 03:00:06PM +0100, Jiri Olsa escreveu: > Sharing map groups within all process threads. This way > there's only one copy of mmap info and it's reachale > from any thread within the process. > > Signed-off-by: Jiri Olsa > Cc: Don Zickus > Cc: Corey Ashford > Cc: David Aher

[PATCH 5/5] perf tools: Share process map groups within process threads

2014-03-14 Thread Jiri Olsa
Sharing map groups within all process threads. This way there's only one copy of mmap info and it's reachale from any thread within the process. Signed-off-by: Jiri Olsa Cc: Don Zickus Cc: Corey Ashford Cc: David Ahern Cc: Frederic Weisbecker Cc: Ingo Molnar Cc: Namhyung Kim Cc: Paul Macker