From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754013AbbKYQc6 (ORCPT ); Wed, 25 Nov 2015 11:32:58 -0500 Received: from e06smtp15.uk.ibm.com ([195.75.94.111]:44743 "EHLO e06smtp15.uk.ibm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752503AbbKYQcz (ORCPT ); Wed, 25 Nov 2015 11:32:55 -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 0/2] Enhance the init of vmlinux_path and add new path Date: Wed, 25 Nov 2015 17:32:44 +0100 Message-Id: <1448469166-61363-1-git-send-email-tumanova@linux.vnet.ibm.com> X-Mailer: git-send-email 2.3.9 X-TM-AS-MML: disable X-Content-Scanned: Fidelis XPS MAILER x-cbid: 15112516-0021-0000-0000-0000080FC229 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org These pathset improves perf processing of the paths to vmlinux files: 1. it refactors the vmlinux_path__init procedure, to allow a simple usage in future: instead of adding several lines for every future vmlinux path, make it possible to simply add a path itself (1 line) to an array. 2. Some distibutions separate debuginfo to vmlinux.debug file. This patchset adds a path to vmlinux.debug, so that perf could use its symbols. Ekaterina Tumanova (2): perf: Refactor vmlinux_path_init perf: add the path to vmlinux.debug tools/perf/util/symbol.c | 65 +++++++++++++++++++++++++----------------------- 1 file changed, 34 insertions(+), 31 deletions(-) -- 2.3.9