perf session: Keep pointers to the vmlinux maps
authorArnaldo Carvalho de Melo <acme@redhat.com>
Mon, 4 Jan 2010 18:19:29 +0000 (16:19 -0200)
committerIngo Molnar <mingo@elte.hu>
Wed, 13 Jan 2010 09:09:10 +0000 (10:09 +0100)
commitde1764892a61a3ed212973cc028c80dd083179dd
tree677ee82901a5c1e5ea34d8218e5fa859641de7dc
parentf92cb24c78a7c853435e46a20d1bd5c894378132
perf session: Keep pointers to the vmlinux maps

So that tools such as 'perf probe' don't have to lookup
'[kernel.kallsyms]' but instead access them directly after
perf_session__create_kernel_maps or
map_groups__create_kernel_maps.

Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Cc: Masami Hiramatsu <mhiramat@redhat.com>
Cc: Frédéric Weisbecker <fweisbec@gmail.com>
Cc: Mike Galbraith <efault@gmx.de>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Cc: Paul Mackerras <paulus@samba.org>
LKML-Reference: <1262629169-22797-4-git-send-email-acme@infradead.org>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
tools/perf/builtin-probe.c
tools/perf/util/session.h
tools/perf/util/symbol.c