perf symbols: Avoid annoying message about loading symbols
authorArnaldo Carvalho de Melo <[email protected]>
Fri, 27 Nov 2009 18:29:12 +0000 (16:29 -0200)
committerIngo Molnar <[email protected]>
Fri, 27 Nov 2009 19:21:57 +0000 (20:21 +0100)
This should be properly fixed when we remove the XXX comment in
'perf report', function resolve_symbol.

Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Cc: Frédéric Weisbecker <[email protected]>
Cc: Mike Galbraith <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: Paul Mackerras <[email protected]>
LKML-Reference: <1259346563[email protected]>
Signed-off-by: Ingo Molnar <[email protected]>
tools/perf/util/symbol.c

index 4ed379b915fe840016d52794db0075d8e977a5ea..8aab89b2248e888c2c05098a28dde6d49f1f386f 100644 (file)
@@ -1516,6 +1516,7 @@ static int kernel_maps__create_kernel_map(const struct symbol_conf *conf)
        vdso = dso__new("[vdso]");
        if (vdso == NULL)
                goto out_delete_kernel_map;
+       vdso->loaded = 1;
 
        if (sysfs__read_build_id("/sys/kernel/notes", kernel->build_id,
                                 sizeof(kernel->build_id)) == 0)