Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1763744AbcLTNny (ORCPT ); Tue, 20 Dec 2016 08:43:54 -0500 Received: from cassarossa.samfundet.no ([193.35.52.29]:59310 "EHLO cassarossa.samfundet.no" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756987AbcLTNnv (ORCPT ); Tue, 20 Dec 2016 08:43:51 -0500 Date: Tue, 20 Dec 2016 14:43:41 +0100 From: "Steinar H. Gunderson" To: Milian Wolff Cc: Peter Zijlstra , linux-kernel@vger.kernel.org, linux-perf-users@vger.kernel.org, Arnaldo Carvalho de Melo , Jiri Olsa Subject: Re: Inlined functions in perf report Message-ID: <20161220134341.GA4183@sesse.net> References: <20161220115954.GA35897@sesse.net> <20161220121755.GL3124@twins.programming.kicks-ass.net> <2027151.EnbG4A8ymx@milian-kdab2> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <2027151.EnbG4A8ymx@milian-kdab2> X-Operating-System: Linux 4.9.0 on a x86_64 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: 692 Lines: 18 On Tue, Dec 20, 2016 at 02:27:10PM +0100, Milian Wolff wrote: > It is not even possible with that, perf report is lacking the steps required > to add inline frames - it will only add "real" frames it gets from either of > the unwind libraries. > > I have a WIP patch available for this functionality though, it can be found > here (depends on libbfd, i.e. bfd_find_inliner_info): > > https://github.com/milianw/linux/commit/ > 71d031c9d679bfb4a4044226e8903dd80ea601b3 Thanks, I'll be sure to try it out. I assume this works only with -g dwarf? I.e., for non-graph runs, I will still get the bottom function only, not the inlined one. /* Steinar */ -- Homepage: https://www.sesse.net/