Received: by 2002:ac0:946b:0:0:0:0:0 with SMTP id j40csp3912464imj; Tue, 19 Feb 2019 11:39:54 -0800 (PST) X-Google-Smtp-Source: AHgI3IaF0J+ilJG2drJPm66i9WsQSdTCp82Tg9pjmmfUhSbF5YpJgjTr1Q//baLaPY4HUHK9hHT8 X-Received: by 2002:a65:41c2:: with SMTP id b2mr25289018pgq.67.1550605194389; Tue, 19 Feb 2019 11:39:54 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1550605194; cv=none; d=google.com; s=arc-20160816; b=DA4lci1Oaiu8ggyYMWZ6N2ipSHkPvy2yx2AyhcuxvWsTgWBeIr4QD8erVm2HLH3Gnl iYxi2uwqKwvVDUEGCbZDFAcwsbP333ui1ZzxjevBuqRQ0vtPrmdtTORorqn8p7Xq1yi3 vBLEjbfSVbHJkHMgNokt0jjFAFeajCrUk7ju3uXLHkYIc3kuP5ddabLpyp2GyQdYyMt9 2GhPEqBxwQcauRK3OU1ynmbWeAIRNPZ83nYDVQU0CBqBU2d282uDWIARkiFoj0Z7IZVP M7uzntoGFreMCcOTawlCzEEuyKc2jk4kecIO7k/i+JBNOfjU46b5x7cp0h5v/9ncGHhA dC6A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=yBZ1oqRRzHRs/1YeLdWNMTzyTgVW2Jo6wM9Azn4PBY8=; b=QrVh04cJffkoG26MjkX64S/lxF9/PyXqN9Hqh7hwbT0Bx6pDApK3v/N0ga5BdpmfjL aVxblWt+tylGzEJkNNWAjiV91S8XBCVx/R9sfHQLN15FeBwXqdmoNLzcyiaeZCOLD14w 4d12ET1D7lePSggQL7w5n6qMyAh3nac/QBSnyemEP2nVZO6rdkd2+zZQQsrQaFfCCiK5 O/CdtbvbvcvXDJoMdfJ9f1L5B/o/TGwsvMcoDwTKUrglXEydqw4ocT7GmUTk6BCTDsg6 c9tt2FWZcX97JwlGDWMY76mTbJkhfz6PuOJAMKOosK9SS+NFY96Kn9bUQclkWmbqduz2 DrUQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b="QzKR/lET"; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id i1si15977849pgi.480.2019.02.19.11.39.38; Tue, 19 Feb 2019 11:39:54 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b="QzKR/lET"; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728271AbfBSTis (ORCPT + 99 others); Tue, 19 Feb 2019 14:38:48 -0500 Received: from mail.kernel.org ([198.145.29.99]:49164 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725963AbfBSTis (ORCPT ); Tue, 19 Feb 2019 14:38:48 -0500 Received: from quaco.ghostprotocols.net (unknown [190.15.121.82]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 478D020855; Tue, 19 Feb 2019 19:38:47 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1550605127; bh=HN856G7OScD4ymC2G12gYgRWPPMaBjqzJxKza6+Cwbo=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=QzKR/lETnvBSR8q6aPJahzpi3LHgLhrlabHxeTU5UGrxS5fD15Yk29ylcvTJ85IlX iKXb2hgn8tU0i3/kBY5t01yUxWN+MFp0U8GQQl6Ye1Vvkf15eYxKFfkLKqaGcMhKac q8OngXALcJ/9pRaKXz1vkE5z0NMCS/9xIalZTKhE= Received: by quaco.ghostprotocols.net (Postfix, from userid 1000) id 66E72410D5; Tue, 19 Feb 2019 16:38:44 -0300 (-03) Date: Tue, 19 Feb 2019 16:38:44 -0300 From: Arnaldo Carvalho de Melo To: Jonas Rabenstein , Milian Wolff Cc: linux-perf-users@vger.kernel.org, Peter Zijlstra , Ingo Molnar , Alexander Shishkin , Jiri Olsa , Namhyung Kim , Andi Kleen , Thomas Richter , Stephane Eranian , linux-kernel@vger.kernel.org Subject: Re: [PATCH 0/2] perf evsel: add support for inlined function in callchains Message-ID: <20190219193844.GB25535@kernel.org> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Url: http://acmel.wordpress.com User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Em Tue, Feb 19, 2019 at 07:38:08PM +0100, Jonas Rabenstein escreveu: > Hi, > sample__fprintf_callchain currently did not use the already available > code to get the symbols of an inlined function if such information is > available in a dso. This patchset adds the required logic to add > appropriate lines. You forgot to add the person that did lots of work in this area more recently, Milian, which I'm adding here so that he have the opportunity to comment on your work, Thanks for working on this! - Arnaldo > As I am quite new to the code base of perf I am not sure how to test > that changeset in a correct way. At least the codes builds and the tools > that make use of sample__fprintf_callchain (perf-script, perf-trace and > perf-sched as far as I can see) did not fail to run - also I did not get > into the details of perf-trace and perf-sched as I have never used them > before. > > Another thing I am not sure how to deal with are some warnings of > checkpatch.pl due to the 80 character line limit. Due to the long > function names in use the current implementation already exceeded that > limit in the same spots by even more characters as I have taken the > inner loop and put it into a separate function. > > I hope to expand my work to perf-report but thought it might be usefull > to get already early feedback on those patches. > > Thank you, > Jonas > > Jonas Rabenstein (2): > perf evsel: split sample__fprintf_callchain in output and iteration > perf evsel: add inline functions to sample callchain output > > tools/perf/util/evsel_fprintf.c | 157 ++++++++++++++++++++++---------- > 1 file changed, 109 insertions(+), 48 deletions(-) > > -- > 2.19.2 -- - Arnaldo