From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755786AbbJUTSm (ORCPT ); Wed, 21 Oct 2015 15:18:42 -0400 Received: from mail-ig0-f179.google.com ([209.85.213.179]:37481 "EHLO mail-ig0-f179.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752302AbbJUTSk (ORCPT ); Wed, 21 Oct 2015 15:18:40 -0400 MIME-Version: 1.0 In-Reply-To: <20151021080645.GA9318@gmail.com> References: <1444079018-31421-1-git-send-email-acme@kernel.org> <1444079018-31421-14-git-send-email-acme@kernel.org> <20151009215626.GM14409@kernel.org> <20151009222504.GN14409@kernel.org> <20151020120033.GB5119@kernel.org> <20151021080645.GA9318@gmail.com> From: Brendan Gregg Date: Wed, 21 Oct 2015 12:18:10 -0700 Message-ID: Subject: Re: [PATCH 13/16] perf callchain: Switch default to 'graph,0.5,caller' To: Ingo Molnar Cc: Arnaldo Carvalho de Melo , LKML , Adrian Hunter , Borislav Petkov , Chandler Carruth , David Ahern , Frederic Weisbecker , Jiri Olsa , Namhyung Kim , Stephane Eranian , Wang Nan Content-Type: text/plain; charset=UTF-8 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Oct 21, 2015 at 1:06 AM, Ingo Molnar wrote: > > * Arnaldo Carvalho de Melo wrote: > >> Indeed, finding a default that is deemed adequate for most people is, ho-hum, >> difficult 8-) >> >> Ingo, what do you think? > > So I think the new default is a lot more intuitive, because it starts with a high > level top-down 'overview' kind of output, allowing one to drill down to the > details. > Yes, it may be more intuitive. > That's what most other tools do as well by default, and people migrating to perf > found it pretty confusing that we do a bottom-up kind of callgraph. > [...] But I don't think it's commonplace. Which other tools do this? Java Flight Recorder? GUIs? Certainly not text-based system profilers or debuggers (I made a list in another email). Although, these are usually printing entire stacks. So the most alien change would be to flip the "perf script" order (please don't do this). You could argue that the perf report/top tree view is not commonplace from other text-based profilers or debuggers, so changing it won't be as confusing. In fact, it's like a sideways flame graph (except it doesn't fit on the screen!). Brendan