perf symbols: Remove unrelated actions from dso__load_kernel_sym
authorArnaldo Carvalho de Melo <acme@redhat.com>
Fri, 20 Nov 2009 22:51:24 +0000 (20:51 -0200)
committerIngo Molnar <mingo@elte.hu>
Sat, 21 Nov 2009 13:11:32 +0000 (14:11 +0100)
commit6671cb1674e69e2aba3d610714bdd3e97a7b51ff
tree61eb72c744c19086b272af4b3da21ef959ae35d5
parent96200591a34f8ecb98481c626125df43a2463b55
perf symbols: Remove unrelated actions from dso__load_kernel_sym

It should just load kernel symbols, not load the list of
modules. There are more stuff to move to other routines, but
lets do it in several steps.

End goal is to be able to defer symbol table loading till we
find a hit for that map address range. So that the kernel &
modules are handled just like all the other DSOs in the system.

Signed-off-by: Arnaldo Carvalho de Melo <acme@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: <1258757489-5978-1-git-send-email-acme@infradead.org>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
tools/perf/builtin-annotate.c
tools/perf/builtin-report.c
tools/perf/builtin-top.c
tools/perf/util/data_map.c
tools/perf/util/symbol.c
tools/perf/util/symbol.h