From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932760AbcESOXP (ORCPT ); Thu, 19 May 2016 10:23:15 -0400 Received: from mail-io0-f196.google.com ([209.85.223.196]:33730 "EHLO mail-io0-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932720AbcESOXN (ORCPT ); Thu, 19 May 2016 10:23:13 -0400 Subject: Re: [PATCH v4 1/6] perf tools: Set buildid dir under symfs when --symfs is provided To: He Kuang , peterz@infradead.org, mingo@redhat.com, acme@kernel.org, alexander.shishkin@linux.intel.com, jolsa@redhat.com, wangnan0@huawei.com, jpoimboe@redhat.com, ak@linux.intel.com, eranian@google.com, namhyung@kernel.org, adrian.hunter@intel.com, sukadev@linux.vnet.ibm.com, masami.hiramatsu.pt@hitachi.com, tumanova@linux.vnet.ibm.com, kan.liang@intel.com, penberg@kernel.org References: <1463658462-85131-1-git-send-email-hekuang@huawei.com> <1463658462-85131-2-git-send-email-hekuang@huawei.com> Cc: linux-kernel@vger.kernel.org From: David Ahern Message-ID: <10081742-ebd5-fa1c-3531-b0afe510d16d@gmail.com> Date: Thu, 19 May 2016 08:23:06 -0600 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.11; rv:45.0) Gecko/20100101 Thunderbird/45.1.0 MIME-Version: 1.0 In-Reply-To: <1463658462-85131-2-git-send-email-hekuang@huawei.com> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 5/19/16 5:47 AM, He Kuang wrote: > This patch moves the reference of buildid dir to 'symfs/.debug' and > skips the local buildid dir when '--symfs' is given, so that every > single file opened by perf is relateive to symfs directory now. > > Signed-off-by: He Kuang > --- > tools/perf/builtin-annotate.c | 5 +++-- > tools/perf/builtin-diff.c | 5 +++-- > tools/perf/builtin-report.c | 5 +++-- > tools/perf/builtin-script.c | 5 +++-- > tools/perf/builtin-timechart.c | 5 +++-- > tools/perf/util/dso.c | 4 +--- > tools/perf/util/symbol.c | 23 +++++++++++++++++++++++ > tools/perf/util/symbol.h | 2 ++ > 8 files changed, 41 insertions(+), 13 deletions(-) Acked-by: David Ahern