From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1946583AbbHGXtX (ORCPT ); Fri, 7 Aug 2015 19:49:23 -0400 Received: from mail.kernel.org ([198.145.29.136]:59051 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1946338AbbHGXtW (ORCPT ); Fri, 7 Aug 2015 19:49:22 -0400 Date: Fri, 7 Aug 2015 20:49:13 -0300 From: Arnaldo Carvalho de Melo To: Andi Kleen Cc: jolsa@kernel.org, linux-kernel@vger.kernel.org, namhyung@kernel.org, Andi Kleen Subject: Re: [PATCH] perf, tools: Support full source file paths for srcline Message-ID: <20150807234913.GC3583@kernel.org> References: <1438986245-15191-1-git-send-email-andi@firstfloor.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1438986245-15191-1-git-send-email-andi@firstfloor.org> 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 Em Fri, Aug 07, 2015 at 03:24:05PM -0700, Andi Kleen escreveu: > From: Andi Kleen > > For perf report/script srcline currently only the base file name > of the source file is printed. This is a good default because > it usually fits on the screen. > > But in some cases we want to know the full file name, > for example to aggregate hits per file. > > In the later case we need more than the base file name > to resolve file naming collisions: for example the kernel source > has ~70 files named "core.c" > > It's also useful as input to post processing tools which > want to point to the right file. > > Add a flag to allow full file name output. > > Add an option to perf report/script to enable this option. Applied