perf machine: Adopt some map_groups functions
authorArnaldo Carvalho de Melo <acme@redhat.com>
Wed, 28 Apr 2010 00:20:43 +0000 (21:20 -0300)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Wed, 28 Apr 2010 00:21:18 +0000 (21:21 -0300)
commitd28c62232e50eab202bcd3f19b5c7a25b8b900b6
tree544aca2fe1c7a6c813cf2bf319a8ceb4d212b649
parent48ea8f5470aa6f35244d1b218316705ea88c0259
perf machine: Adopt some map_groups functions

Those functions operated on members now grouped in 'struct machine', so
move those methods to this new class.

The changes made to 'perf probe' shows that using this abstraction
inserting probes on guests almost got supported for free.

Cc: Avi Kivity <avi@redhat.com>
Cc: Frédéric Weisbecker <fweisbec@gmail.com>
Cc: Masami Hiramatsu <mhiramat@redhat.com>
Cc: Mike Galbraith <efault@gmx.de>
Cc: Paul Mackerras <paulus@samba.org>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Cc: Zhang, Yanmin <yanmin_zhang@linux.intel.com>
LKML-Reference: <new-submission>
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/builtin-kmem.c
tools/perf/util/event.c
tools/perf/util/map.c
tools/perf/util/map.h
tools/perf/util/probe-event.c
tools/perf/util/session.c
tools/perf/util/symbol.c
tools/perf/util/symbol.h