diff options
Diffstat (limited to 'tools/perf/builtin-top.c')
-rw-r--r-- | tools/perf/builtin-top.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/tools/perf/builtin-top.c b/tools/perf/builtin-top.c index befef842757e..34d48c1b7a8b 100644 --- a/tools/perf/builtin-top.c +++ b/tools/perf/builtin-top.c | |||
@@ -804,10 +804,8 @@ static int symbol_filter(struct map *map, struct symbol *sym) | |||
804 | 804 | ||
805 | static int parse_symbols(void) | 805 | static int parse_symbols(void) |
806 | { | 806 | { |
807 | int use_modules = vmlinux_name ? 1 : 0; | ||
808 | |||
809 | if (dsos__load_kernel(vmlinux_name, sizeof(struct sym_entry), | 807 | if (dsos__load_kernel(vmlinux_name, sizeof(struct sym_entry), |
810 | symbol_filter, verbose, use_modules) <= 0) | 808 | symbol_filter, verbose, 1) <= 0) |
811 | return -1; | 809 | return -1; |
812 | 810 | ||
813 | if (dump_symtab) | 811 | if (dump_symtab) |