From: Arnaldo Carvalho de Melo Date: Mon, 5 Oct 2009 17:26:15 +0000 (-0300) Subject: perf top: Keep the default of asking for kernel module symbols X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=5c2068059a0e852f72b7c2608d92170b752d821f;p=linux-beck.git perf top: Keep the default of asking for kernel module symbols Signed-off-by: Arnaldo Carvalho de Melo Cc: Frédéric Weisbecker Cc: Peter Zijlstra Cc: Mike Galbraith LKML-Reference: Signed-off-by: Ingo Molnar --- 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)