From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755832AbbJUQfL (ORCPT ); Wed, 21 Oct 2015 12:35:11 -0400 Received: from mail-wi0-f169.google.com ([209.85.212.169]:37152 "EHLO mail-wi0-f169.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754129AbbJUQfJ (ORCPT ); Wed, 21 Oct 2015 12:35:09 -0400 Date: Wed, 21 Oct 2015 18:35:07 +0200 From: Frederic Weisbecker To: Namhyung Kim Cc: Arnaldo Carvalho de Melo , Chandler Carruth , Brendan Gregg , Ingo Molnar , LKML , Adrian Hunter , Borislav Petkov , David Ahern , Jiri Olsa , Stephane Eranian , Wang Nan Subject: Re: [PATCH 13/16] perf callchain: Switch default to 'graph,0.5,caller' Message-ID: <20151021163506.GC19764@lerouge> References: <20151009215626.GM14409@kernel.org> <20151009222504.GN14409@kernel.org> <20151020120033.GB5119@kernel.org> <20151020121948.GA29289@lerouge> <20151020130651.GC5119@kernel.org> <20151020172114.GB29289@lerouge> <20151021080908.GI628@sejong> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20151021080908.GI628@sejong> User-Agent: Mutt/1.5.24 (2015-08-30) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Oct 21, 2015 at 05:09:08PM +0900, Namhyung Kim wrote: > On Tue, Oct 20, 2015 at 07:21:16PM +0200, Frederic Weisbecker wrote: > > Well, I would prefer to hear from regular users than random twitter followers. > > I could be wrong so lets ask some users first. > > Just a question. Do you often use --children and/or '--g caller' options? I must confess I haven't used perf much for some time now. So I never really used --children but I'm fairly convinced it's a very useful option. > > I guess that for most kernel developers, --children is not that useful > as you said. Not sure about that. It provides a good overview. > But I think it can be useful for many userspace > developers and with '-g caller' it can be even more useful. :) > > When '-g caller' is used, the callchains shown in a (self) entry are > less important IMHO. However callchains in entries generated by > --children will show which functions are called by the entry (since > it's reversed!) and will be more important. Right and in fact the ever growing adoption of perf by userland developers makes we start to understand why people are interested in caller based callchains. Callee-based zoom into low level details that many people are not interested in. I think that if people could filter the callchain to only keep the part concerning their binary, callee may suddenly become interesting for them.