From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753821AbdEOAom (ORCPT ); Sun, 14 May 2017 20:44:42 -0400 Received: from LGEAMRELO13.lge.com ([156.147.23.53]:51741 "EHLO lgeamrelo13.lge.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753350AbdEOAoj (ORCPT ); Sun, 14 May 2017 20:44:39 -0400 X-Original-SENDERIP: 156.147.1.127 X-Original-MAILFROM: namhyung@kernel.org X-Original-SENDERIP: 10.177.227.17 X-Original-MAILFROM: namhyung@kernel.org Date: Mon, 15 May 2017 09:44:30 +0900 From: Namhyung Kim To: Andi Kleen Cc: Milian Wolff , linux-kernel@vger.kernel.org, linux-perf-users@vger.kernel.org, Arnaldo Carvalho de Melo , David Ahern , Peter Zijlstra , Yao Jin , kernel-team@lge.com Subject: Re: [PATCH v2] perf report: distinguish between inliners in the same function Message-ID: <20170515004430.GA22151@sejong> References: <20170503213536.13905-1-milian.wolff@kdab.com> <20170510055352.GA2667@sejong> <1673560.Uk8cHjlLU8@agathebauer> <87a86igm5q.fsf@firstfloor.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <87a86igm5q.fsf@firstfloor.org> User-Agent: Mutt/1.8.2 (2017-04-18) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Andi, On Fri, May 12, 2017 at 07:55:13AM -0700, Andi Kleen wrote: > Milian Wolff writes: > > > > I think I'm missing something, but isn't this what this function provides? The > > function above is now being used by the match_chain_inliner function below. > > > > Ah, or do you mean for code such as this: > > > > ~~~~~ > > inline_func_1(); inline_func_2(); > > This could be handled by looking at columns or discriminators too (which > some compilers generate in dwarf). srcline.c would need to be changed > to also call bfd_get_nearest_discriminator() and pass that extra > information everywhere. You're right. The discriminators should be carried too. Thanks, Namhyung