perf symbols: Add the path to vmlinux.debug
authorEkaterina Tumanova <[email protected]>
Wed, 25 Nov 2015 16:32:46 +0000 (17:32 +0100)
committerArnaldo Carvalho de Melo <[email protected]>
Thu, 26 Nov 2015 19:50:35 +0000 (16:50 -0300)
Currently when debuginfo is separated to vmlinux.debug, it's contents
get ignored. Let's change that and add it to the vmlinux_path list.

Signed-off-by: Ekaterina Tumanova <[email protected]>
Acked-by: Alexander Yarygin <[email protected]>
Acked-by: Jiri Olsa <[email protected]>
Cc: Adrian Hunter <[email protected]>
Cc: Christian Borntraeger <[email protected]>
Cc: David Ahern <[email protected]>
Cc: Namhyung Kim <[email protected]>
Cc: Naveen N. Rao <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: Wang Nan <[email protected]>
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
tools/perf/util/symbol.c

index e2ac6b6676e4a122afe92356d95c7071a11c693d..d51abd2e78652c46a958e86587d9b827983f43d9 100644 (file)
@@ -1869,7 +1869,8 @@ static const char * const vmlinux_paths_upd[] = {
        "/boot/vmlinux-%s",
        "/usr/lib/debug/boot/vmlinux-%s",
        "/lib/modules/%s/build/vmlinux",
-       "/usr/lib/debug/lib/modules/%s/vmlinux"
+       "/usr/lib/debug/lib/modules/%s/vmlinux",
+       "/usr/lib/debug/boot/vmlinux-%s.debug"
 };
 
 static int vmlinux_path__add(const char *new_entry)