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-Tag: upstream/snapshot3+hdmi~16109^2~124^2~32 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=5c2068059a0e852f72b7c2608d92170b752d821f;p=platform%2Fadaptation%2Frenesas_rcar%2Frenesas_kernel.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 befef84..34d48c1 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)