Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753592AbbFAOSJ (ORCPT ); Mon, 1 Jun 2015 10:18:09 -0400 Received: from mail.kernel.org ([198.145.29.136]:42210 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751930AbbFAOSC (ORCPT ); Mon, 1 Jun 2015 10:18:02 -0400 Date: Mon, 1 Jun 2015 11:17:56 -0300 From: Arnaldo Carvalho de Melo To: Martin =?utf-8?B?TGnFoWth?= Cc: David Ahern , a.p.zijlstra@chello.nl, paulus@samba.org, mingo@redhat.com, linux-kernel@vger.kernel.org Subject: Re: [PATCH] perf: introduce new two options for objdump. Message-ID: <20150601141756.GI624@kernel.org> References: <54CA2FB2.6070202@suse.cz> <20150519140820.GK13946@kernel.org> <555B48E6.6000307@gmail.com> <20150519143300.GL13946@kernel.org> <555C85C9.4050104@suse.cz> <20150520130515.GB2955@kernel.org> <556C3D8E.2060506@suse.cz> <20150601125432.GE624@kernel.org> <556C64F8.4000104@suse.cz> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <556C64F8.4000104@suse.cz> X-Url: http://acmel.wordpress.com User-Agent: Mutt/1.5.23 (2014-03-12) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 2038 Lines: 47 Em Mon, Jun 01, 2015 at 03:58:16PM +0200, Martin Liška escreveu: > On 06/01/2015 02:54 PM, Arnaldo Carvalho de Melo wrote: > > Em Mon, Jun 01, 2015 at 01:10:06PM +0200, Martin Liška escreveu: > >> On 05/20/2015 03:05 PM, Arnaldo Carvalho de Melo wrote: > >>> Em Wed, May 20, 2015 at 03:02:01PM +0200, Martin Liška escreveu: > >>>> On 05/19/2015 04:33 PM, Arnaldo Carvalho de Melo wrote: > >>>>> Em Tue, May 19, 2015 at 08:29:58AM -0600, David Ahern escreveu: > > > > > > > >>>>>> Perhaps it should be generalized a bit? Right now we have symfs for the > >>>>>> location of the tree for binaries. What about a srcfs for a source tree? > >>>>> > >>>>> That is a good idea indeed. > >>>> > >>>> I was motivated to be able to annotate source code, realized out-of-box. More precisely, on a machine A > >>>> I run perf record, I moved the report file to machine B and I use these options to annotate source code. > > > > > > > >>> I guess so, and yeah, the feature implemented in your patch has value, > >>> thanks for collaborating! It is just that it may fit better as a > >>> complement to the --symfs stuff, that is also for off-box analysis: > > > >>> --symfs=:: > >>> Look for files with symbols relative to this directory. > > > >>> Thanks, will wait for further discussion before applying, > > > >> Are we going to wait any longer? It looks there's no discussion effort in this thread ;) > > > > I was waiting for you to follow thru on David's suggestion. > Ah, I see. > My answer what kind of that a single new option is no going to enough. As explained in my previous > post, one needs to cut N components of a path and append a different path. > > I would follow option names starting with --objdump prefix. David, do you agree? - Arnaldo -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/