diff options
author | Arnaldo Carvalho de Melo <acme@redhat.com> | 2009-10-05 14:26:15 -0300 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2009-10-05 20:35:22 +0200 |
commit | 5c2068059a0e852f72b7c2608d92170b752d821f (patch) | |
tree | 940a885a6b910aded2826f6f6e6b362b6f89b0de /tools/perf/builtin-top.c | |
parent | ec218fc4a796a1b584741d59ef22615d96981188 (diff) |
perf top: Keep the default of asking for kernel module 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>
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) static int parse_symbols(void) { - int use_modules = vmlinux_name ? 1 : 0; - if (dsos__load_kernel(vmlinux_name, sizeof(struct sym_entry), - symbol_filter, verbose, use_modules) <= 0) + symbol_filter, verbose, 1) <= 0) return -1; if (dump_symtab) |