perf tools: Create maps for modules when processing kallsyms
commitaf427bf529c5991be8d1a36f43e2d0141f532f63
authorArnaldo Carvalho de Melo <acme@redhat.com>
Mon, 5 Oct 2009 17:26:17 +0000 (5 14:26 -0300)
committerIngo Molnar <mingo@elte.hu>
Mon, 5 Oct 2009 18:35:23 +0000 (5 20:35 +0200)
tree9a90fcac2b44ef1b70ca9ca5b4ed6792179b976a
parent5c2068059a0e852f72b7c2608d92170b752d821f
perf tools: Create maps for modules when processing kallsyms

So that we get kallsyms processing closer to vmlinux + modules
symtabs processing.

One change in behaviour is that since when one specifies --vmlinux
-m should be used to ask for modules, so it is now for kallsyms as
well.

Also continue if one manages to load the vmlinux data but module
processing fails, so that at least some analisys can be done with
part of the needed symbols.

Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Cc: Frédéric Weisbecker <fweisbec@gmail.com>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Mike Galbraith <efault@gmx.de>
LKML-Reference: <new-submission>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
tools/perf/util/symbol.c
tools/perf/util/symbol.h