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>
This commit is contained in:

committed by
Ingo Molnar

parent
5c2068059a
commit
af427bf529
@@ -70,8 +70,6 @@ struct symbol *dso__find_symbol(struct dso *self, u64 ip);
|
||||
|
||||
int dsos__load_kernel(const char *vmlinux, unsigned int sym_priv_size,
|
||||
symbol_filter_t filter, int verbose, int modules);
|
||||
int dsos__load_modules(unsigned int sym_priv_size, symbol_filter_t filter,
|
||||
int verbose);
|
||||
int dso__load(struct dso *self, struct map *map, symbol_filter_t filter,
|
||||
int verbose);
|
||||
struct dso *dsos__findnew(const char *name);
|
||||
|
Reference in New Issue
Block a user