diff options
author | Arnaldo Carvalho de Melo <acme@redhat.com> | 2009-11-27 13:29:12 -0500 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2009-11-27 14:21:57 -0500 |
commit | 3f5ee186f615a720fe78eb33662ae4da57a1eee3 (patch) | |
tree | 09c8225270950e9344f9467590ae1ff37ec0d42d /tools | |
parent | 52a11f354970e7301e1d1a029b87535be45abec9 (diff) |
perf symbols: Avoid annoying message about loading symbols
This should be properly fixed when we remove the XXX comment in
'perf report', function resolve_symbol.
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Cc: Frédéric Weisbecker <fweisbec@gmail.com>
Cc: Mike Galbraith <efault@gmx.de>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Cc: Paul Mackerras <paulus@samba.org>
LKML-Reference: <1259346563-12568-1-git-send-email-acme@infradead.org>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'tools')
-rw-r--r-- | tools/perf/util/symbol.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/perf/util/symbol.c b/tools/perf/util/symbol.c index 4ed379b915fe..8aab89b2248e 100644 --- a/tools/perf/util/symbol.c +++ b/tools/perf/util/symbol.c | |||
@@ -1516,6 +1516,7 @@ static int kernel_maps__create_kernel_map(const struct symbol_conf *conf) | |||
1516 | vdso = dso__new("[vdso]"); | 1516 | vdso = dso__new("[vdso]"); |
1517 | if (vdso == NULL) | 1517 | if (vdso == NULL) |
1518 | goto out_delete_kernel_map; | 1518 | goto out_delete_kernel_map; |
1519 | vdso->loaded = 1; | ||
1519 | 1520 | ||
1520 | if (sysfs__read_build_id("/sys/kernel/notes", kernel->build_id, | 1521 | if (sysfs__read_build_id("/sys/kernel/notes", kernel->build_id, |
1521 | sizeof(kernel->build_id)) == 0) | 1522 | sizeof(kernel->build_id)) == 0) |