aboutsummaryrefslogtreecommitdiffstats
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
parentperf_counter tools: Add infrastructure to support loading of kernel module symbols (diff)
downloadlinux-dev-6cfcc53ed4f3ecb9319e73a03f34f1eddcb644dd.tar.xz
linux-dev-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 97fde1d84365..9bb25fc3d4ce 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);