perf tools: Share map_groups among threads of the same group
authorJiri Olsa <jolsa@kernel.org>
Wed, 9 Apr 2014 18:54:29 +0000 (20:54 +0200)
committerJiri Olsa <jolsa@kernel.org>
Mon, 28 Apr 2014 11:43:33 +0000 (13:43 +0200)
commitcddcef607782966f1601808c17fe9c4c5f79f9f4
tree651244dff025c51f8583c29d984ffd3dce63f5ab
parenta26ca6716a6c683f40bd676cea7e89704653b98d
perf tools: Share map_groups among threads of the same group

Sharing map groups within all process threads. This way
there's only one copy of mmap info and it's reachable
from any thread within the process.

Original-patch-by: Arnaldo Carvalho de Melo <acme@kernel.org>
Acked-by: Namhyung Kim <namhyung@kernel.org>
Cc: Adrian Hunter <adrian.hunter@intel.com>
Cc: Corey Ashford <cjashfor@linux.vnet.ibm.com>
Cc: David Ahern <dsahern@gmail.com>
Cc: Don Zickus <dzickus@redhat.com>
Cc: Frederic Weisbecker <fweisbec@gmail.com>
Cc: Ingo Molnar <mingo@kernel.org>
Cc: Mike Galbraith <efault@gmx.de>
Cc: Namhyung Kim <namhyung@kernel.org>
Cc: Paul Mackerras <paulus@samba.org>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Cc: Stephane Eranian <eranian@google.com>
Link: http://lkml.kernel.org/r/1397490723-1992-5-git-send-email-jolsa@redhat.com
Signed-off-by: Jiri Olsa <jolsa@kernel.org>
tools/perf/util/machine.c
tools/perf/util/thread.c
tools/perf/util/thread.h