Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751152AbdCBWSh (ORCPT ); Thu, 2 Mar 2017 17:18:37 -0500 Received: from mail.kdab.com ([176.9.126.58]:58764 "EHLO mail.kdab.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751027AbdCBWSf (ORCPT ); Thu, 2 Mar 2017 17:18:35 -0500 X-Greylist: delayed 1789 seconds by postgrey-1.27 at vger.kernel.org; Thu, 02 Mar 2017 17:18:35 EST From: Milian Wolff To: "Jin, Yao" Cc: acme@kernel.org, jolsa@kernel.org, Linux-kernel@vger.kernel.org, ak@linux.intel.com, kan.liang@intel.com Subject: Re: [PATCH v3 0/5] perf report: Show inline stack Date: Thu, 02 Mar 2017 22:42:00 +0100 Message-ID: <7369636.07Z93mMh8K@agathebauer> Organization: KDAB (Deutschland) GmbH&Co KG, a KDAB Group company In-Reply-To: <47669ba5-6f26-2842-e274-949411c5cb36@linux.intel.com> References: <1484905166-10609-1-git-send-email-yao.jin@linux.intel.com> <47669ba5-6f26-2842-e274-949411c5cb36@linux.intel.com> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart2294384.Rn0zJ8Akbi"; micalg="sha1"; protocol="application/pkcs7-signature" Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 10726 Lines: 193 --nextPart2294384.Rn0zJ8Akbi Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" On Dienstag, 21. Februar 2017 01:28:17 CET Jin, Yao wrote: > Hi, > > Any comments for this patch series? Sorry for the delay. I just tested it again. Overall, this is a clear improvement, so I'm all for getting this functionality in. But from a usability point of view, I still have the some of the issues that I have raised in the past: a) --inline should be a boolean setting that enables inline resolution on demand b) the other callgraph settings and formatting should be used for inlined frames, i.e. - instead of `perf report --inline-name` it should be: `perf report --inline -g function` and since `-g function` is the default, it would be the same as: `perf report --inline` - instead of `perf report --inline-line -g address` it should be: `perf report --inline -g address` Again: As a user of `perf report`, I do not care whether a frame is an inlined one or a non-inlined one - both should be grouped and displayed the same way. I.e. this is unusable (imo): ~~~~~~~~~~~~~~~~~~~~~~~~~ perf report --inline-line --stdio 99.81% 35.99% cpp-inlining cpp-inlining [.] main | |--63.82%--main | ---/home/milian/projects/kdab/rnd/hotspot/tests/test- clients/cpp-inlining/main.cpp:39 (inline) /usr/include/c++/6.3.1/complex:664 (inline) | | | |--63.19%--hypot | | | | | --58.04%--__hypot_finite | | | --0.62%--cabs ~~~~~~~~~~~~~~~~~~~~~~~~~ Dito for this: ~~~~~~~~~~~~~~~~~~~~~~~~~ perf report --stdio --inline-name -g address --stdio 99.81% 35.99% cpp-inlining cpp-inlining [.] main | |--63.82%--main complex:655 | ---main (inline) std::norm (inline) ~~~~~~~~~~~~~~~~~~~~~~~~~ But, again, even with these gripes, I think it's a very useful feature and I would like to see it integrated upstream. From my POV, you can add Tested-by: Milian Wolff to all patches in this series. Many thanks! -- Milian Wolff | milian.wolff@kdab.com | Software Engineer KDAB (Deutschland) GmbH&Co KG, a KDAB Group company Tel: +49-30-521325470 KDAB - The Qt Experts --nextPart2294384.Rn0zJ8Akbi Content-Type: application/pkcs7-signature; name="smime.p7s" Content-Disposition: attachment; filename="smime.p7s" Content-Transfer-Encoding: base64 MIAGCSqGSIb3DQEHAqCAMIACAQExCzAJBgUrDgMCGgUAMIAGCSqGSIb3DQEHAQAAoIIUdzCCBGYw ggNOoAMCAQICEFEmCpMc4n+cw6VfeeByroIwDQYJKoZIhvcNAQEFBQAwgZMxCzAJBgNVBAYTAlVT MQswCQYDVQQIEwJVVDEXMBUGA1UEBxMOU2FsdCBMYWtlIENpdHkxHjAcBgNVBAoTFVRoZSBVU0VS VFJVU1QgTmV0d29yazEhMB8GA1UECxMYaHR0cDovL3d3dy51c2VydHJ1c3QuY29tMRswGQYDVQQD ExJVVE4gLSBEQVRBQ29ycCBTR0MwHhcNMDUwNjA3MDgwOTEwWhcNMTkwNjI0MTkwNj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