diff options
author | Ekaterina Tumanova <tumanova@linux.vnet.ibm.com> | 2015-11-25 11:32:46 -0500 |
---|---|---|
committer | Arnaldo Carvalho de Melo <acme@redhat.com> | 2015-11-26 14:50:35 -0500 |
commit | f55ae9540d16a355e61cb57b035aab9e1ae2da28 (patch) | |
tree | 3271d60acae35fae2d0b0b8c288698f54d9351d4 | |
parent | aac4864727f4b3838ec1c03277bbc47a237b7516 (diff) |
perf symbols: Add the path to vmlinux.debug
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 <tumanova@linux.vnet.ibm.com>
Acked-by: Alexander Yarygin <yarygin@linux.vnet.ibm.com>
Acked-by: Jiri Olsa <jolsa@kernel.org>
Cc: Adrian Hunter <adrian.hunter@intel.com>
Cc: Christian Borntraeger <borntraeger@de.ibm.com>
Cc: David Ahern <dsahern@gmail.com>
Cc: Namhyung Kim <namhyung@kernel.org>
Cc: Naveen N. Rao <naveen.n.rao@linux.vnet.ibm.com>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Cc: Wang Nan <wangnan0@huawei.com>
Link: http://lkml.kernel.org/r/1448469166-61363-3-git-send-email-tumanova@linux.vnet.ibm.com
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
-rw-r--r-- | tools/perf/util/symbol.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tools/perf/util/symbol.c b/tools/perf/util/symbol.c index e2ac6b6676e4..d51abd2e7865 100644 --- a/tools/perf/util/symbol.c +++ b/tools/perf/util/symbol.c | |||
@@ -1869,7 +1869,8 @@ static const char * const vmlinux_paths_upd[] = { | |||
1869 | "/boot/vmlinux-%s", | 1869 | "/boot/vmlinux-%s", |
1870 | "/usr/lib/debug/boot/vmlinux-%s", | 1870 | "/usr/lib/debug/boot/vmlinux-%s", |
1871 | "/lib/modules/%s/build/vmlinux", | 1871 | "/lib/modules/%s/build/vmlinux", |
1872 | "/usr/lib/debug/lib/modules/%s/vmlinux" | 1872 | "/usr/lib/debug/lib/modules/%s/vmlinux", |
1873 | "/usr/lib/debug/boot/vmlinux-%s.debug" | ||
1873 | }; | 1874 | }; |
1874 | 1875 | ||
1875 | static int vmlinux_path__add(const char *new_entry) | 1876 | static int vmlinux_path__add(const char *new_entry) |