From: Ekaterina Tumanova <tumanova@linux.vnet.ibm.com>
To: linux-kernel@vger.kernel.org
Cc: borntraeger@de.ibm.com, yarygin@linux.vnet.ibm.com,
a.p.zijlstra@chello.nl, mingo@redhat.com, acme@kernel.org,
namhyung@kernel.org, adrian.hunter@intel.com,
wangnan0@huawei.com, naveen.n.rao@linux.vnet.ibm.com,
dsahern@gmail.com, jolsa@kernel.org,
Ekaterina Tumanova <tumanova@linux.vnet.ibm.com>
Subject: [PATCH 2/2] perf: add the path to vmlinux.debug
Date: Wed, 25 Nov 2015 17:32:46 +0100 [thread overview]
Message-ID: <1448469166-61363-3-git-send-email-tumanova@linux.vnet.ibm.com> (raw)
In-Reply-To: <1448469166-61363-1-git-send-email-tumanova@linux.vnet.ibm.com>
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>
---
tools/perf/util/symbol.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/tools/perf/util/symbol.c b/tools/perf/util/symbol.c
index 9335088..8772ff6 100644
--- a/tools/perf/util/symbol.c
+++ b/tools/perf/util/symbol.c
@@ -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__update(const char *new_entry)
--
2.3.9
next prev parent reply other threads:[~2015-11-25 16:38 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-11-25 16:32 [PATCH 0/2] Enhance the init of vmlinux_path and add new path Ekaterina Tumanova
2015-11-25 16:32 ` [PATCH 1/2] perf: Refactor vmlinux_path_init Ekaterina Tumanova
2015-11-26 7:34 ` Jiri Olsa
2015-11-26 19:44 ` Arnaldo Carvalho de Melo
2015-11-27 7:46 ` [tip:perf/core] perf symbols: Refactor vmlinux_path__init() to ease path additions tip-bot for Ekaterina Tumanova
2015-11-25 16:32 ` Ekaterina Tumanova [this message]
2015-11-26 7:35 ` [PATCH 2/2] perf: add the path to vmlinux.debug Jiri Olsa
2015-11-27 7:46 ` [tip:perf/core] perf symbols: Add " tip-bot for Ekaterina Tumanova
2015-11-26 19:52 ` [PATCH 0/2] Enhance the init of vmlinux_path and add new path Arnaldo Carvalho de Melo
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1448469166-61363-3-git-send-email-tumanova@linux.vnet.ibm.com \
--to=tumanova@linux.vnet.ibm.com \
--cc=a.p.zijlstra@chello.nl \
--cc=acme@kernel.org \
--cc=adrian.hunter@intel.com \
--cc=borntraeger@de.ibm.com \
--cc=dsahern@gmail.com \
--cc=jolsa@kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=mingo@redhat.com \
--cc=namhyung@kernel.org \
--cc=naveen.n.rao@linux.vnet.ibm.com \
--cc=wangnan0@huawei.com \
--cc=yarygin@linux.vnet.ibm.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
Powered by JetHome