summaryrefslogtreecommitdiff
path: root/tools/perf/builtin-top.c
diff options
context:
space:
mode:
authorMike Galbraith <efault@gmx.de>2009-07-02 08:08:36 +0200
committerIngo Molnar <mingo@elte.hu>2009-07-02 08:42:21 +0200
commit6cfcc53ed4f3ecb9319e73a03f34f1eddcb644dd (patch)
tree8840ca050d86223443f2539085c4ef12234be069 /tools/perf/builtin-top.c
parent208b4b4a59351011b7f212e273f2b7bc47a9c482 (diff)
downloadlinux-3.10-6cfcc53ed4f3ecb9319e73a03f34f1eddcb644dd.tar.gz
linux-3.10-6cfcc53ed4f3ecb9319e73a03f34f1eddcb644dd.tar.bz2
linux-3.10-6cfcc53ed4f3ecb9319e73a03f34f1eddcb644dd.zip
perf_counter tools: Connect module support infrastructure to symbol loading infrastructure
Signed-off-by: Mike Galbraith <efault@gmx.de> Cc: Peter Zijlstra <a.p.zijlstra@chello.nl> Cc: Paul Mackerras <paulus@samba.org> Cc: Arnaldo Carvalho de Melo <acme@redhat.com> LKML-Reference: <1246514916.13293.46.camel@marge.simson.net> Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'tools/perf/builtin-top.c')
-rw-r--r--tools/perf/builtin-top.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/perf/builtin-top.c b/tools/perf/builtin-top.c
index 97fde1d8436..9bb25fc3d4c 100644
--- a/tools/perf/builtin-top.c
+++ b/tools/perf/builtin-top.c
@@ -364,7 +364,7 @@ static int parse_symbols(void)
if (kernel_dso == NULL)
return -1;
- if (dso__load_kernel(kernel_dso, NULL, symbol_filter, 1) <= 0)
+ if (dso__load_kernel(kernel_dso, NULL, symbol_filter, 1, 0) <= 0)
goto out_delete_dso;
node = rb_first(&kernel_dso->syms);