From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754353AbbKYQiR (ORCPT ); Wed, 25 Nov 2015 11:38:17 -0500 Received: from e06smtp12.uk.ibm.com ([195.75.94.108]:53715 "EHLO e06smtp12.uk.ibm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754015AbbKYQdB (ORCPT ); Wed, 25 Nov 2015 11:33:01 -0500 X-IBM-Helo: d06dlp03.portsmouth.uk.ibm.com X-IBM-MailFrom: tumanova@linux.vnet.ibm.com X-IBM-RcptTo: linux-kernel@vger.kernel.org From: Ekaterina Tumanova 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 Subject: [PATCH 2/2] perf: add the path to vmlinux.debug Date: Wed, 25 Nov 2015 17:32:46 +0100 Message-Id: <1448469166-61363-3-git-send-email-tumanova@linux.vnet.ibm.com> X-Mailer: git-send-email 2.3.9 In-Reply-To: <1448469166-61363-1-git-send-email-tumanova@linux.vnet.ibm.com> References: <1448469166-61363-1-git-send-email-tumanova@linux.vnet.ibm.com> X-TM-AS-MML: disable X-Content-Scanned: Fidelis XPS MAILER x-cbid: 15112516-0009-0000-0000-000006C1B895 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 Acked-by: Alexander Yarygin --- 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