Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752499AbcJGEyB (ORCPT ); Fri, 7 Oct 2016 00:54:01 -0400 Received: from LGEAMRELO11.lge.com ([156.147.23.51]:58974 "EHLO lgeamrelo11.lge.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750918AbcJGEyB (ORCPT ); Fri, 7 Oct 2016 00:54:01 -0400 X-Original-SENDERIP: 156.147.1.125 X-Original-MAILFROM: namhyung@kernel.org X-Original-SENDERIP: 165.244.98.203 X-Original-MAILFROM: namhyung@kernel.org X-Original-SENDERIP: 10.177.227.17 X-Original-MAILFROM: namhyung@kernel.org Date: Fri, 7 Oct 2016 13:53:57 +0900 From: Namhyung Kim To: Markus Trippelsdorf CC: , Arnaldo Carvalho de Melo , Ingo Molnar , Peter Zijlstra , Jiri Olsa Subject: Re: Scrolling down broken with "perf top --hierarchy" Message-ID: <20161007045357.GF31113@sejong> References: <20161006163333.GC308@x4> <20161007011753.GA31113@sejong> <20161007035118.GA308@x4> <20161007042218.GE31113@sejong> <20161007043229.GB308@x4> MIME-Version: 1.0 In-Reply-To: <20161007043229.GB308@x4> User-Agent: Mutt/1.7.0 (2016-08-17) X-MIMETrack: Itemize by SMTP Server on LGEKRMHUB04/LGE/LG Group(Release 8.5.3FP6|November 21, 2013) at 2016/10/07 13:53:57, Serialize by Router on LGEKRMHUB04/LGE/LG Group(Release 8.5.3FP6|November 21, 2013) at 2016/10/07 13:53:57, Serialize complete at 2016/10/07 13:53:57 Content-Type: text/plain; charset="utf-8" Content-Disposition: inline Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1670 Lines: 42 Cc-ing perf maintainers, On Fri, Oct 07, 2016 at 06:32:29AM +0200, Markus Trippelsdorf wrote: > On 2016.10.07 at 13:22 +0900, Namhyung Kim wrote: > > On Fri, Oct 07, 2016 at 05:51:18AM +0200, Markus Trippelsdorf wrote: > > > On 2016.10.07 at 10:17 +0900, Namhyung Kim wrote: > > > > On Thu, Oct 06, 2016 at 06:33:33PM +0200, Markus Trippelsdorf wrote: > > > > > Scrolling down is broken when using "perf top --hierarchy". > > > > > When it starts up everything is OK and one can scroll up and down to all > > > > > entries. But as further and further new entries get added to the list, > > > > > scrolling down is blocked (at the position of the last entry that was > > > > > shown directly after startup). > > > > > > > > I think below patch will fix the problem. Please check. > > > > > > Yes. It works fine now. Many thanks. > > > > Good. Can I add your Tested-by then? > > Sure. Ok, I'll send a formal patch with it. > > (And in the long run you should think of making "perf top --hierarchy" > the default for perf top, because it gives a much better (uncluttered) > overview of what is going on.) I think it's a matter of taste. Some people prefer to see the top single function or something (i.e. current behavior) while others prefer to see a higher-level view. But we can think again about the default at least for perf-top. I worried about changing default behavior because last time we did it for children mode many people complained about it. But I do think the hierarchy mode is useful for many people though. Hmm.. I thought that it already has a config option to enable hierarch mode by default, but I cannot find it now. Thanks, Namhyung