aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf
diff options
context:
space:
mode:
authorArnaldo Carvalho de Melo <acme@redhat.com>2009-10-05 13:26:15 -0400
committerIngo Molnar <mingo@elte.hu>2009-10-05 14:35:22 -0400
commit5c2068059a0e852f72b7c2608d92170b752d821f (patch)
tree940a885a6b910aded2826f6f6e6b362b6f89b0de /tools/perf
parentec218fc4a796a1b584741d59ef22615d96981188 (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')
-rw-r--r--tools/perf/builtin-top.c4
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
805static int parse_symbols(void) 805static 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)