From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933052AbcASVDu (ORCPT ); Tue, 19 Jan 2016 16:03:50 -0500 Received: from mail.kernel.org ([198.145.29.136]:36001 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932252AbcASVDo (ORCPT ); Tue, 19 Jan 2016 16:03:44 -0500 Date: Tue, 19 Jan 2016 18:03:39 -0300 From: Arnaldo Carvalho de Melo To: Namhyung Kim Cc: Andi Kleen , Ingo Molnar , Peter Zijlstra , Jiri Olsa , LKML , David Ahern , Stephane Eranian , Wang Nan , Don Zickus , Pekka Enberg , Moinuddin Quadri Subject: Re: [RFC/PATCHSET 00/17] perf tools: Add support for hierachy view (v2) Message-ID: <20160119210339.GH27085@kernel.org> References: <1452960197-5323-1-git-send-email-namhyung@kernel.org> <20160117193153.GI4698@two.firstfloor.org> <20160119104506.GB1324@danjae.kornet> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20160119104506.GB1324@danjae.kornet> X-Url: http://acmel.wordpress.com User-Agent: Mutt/1.5.23 (2014-03-12) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Em Tue, Jan 19, 2016 at 07:45:06PM +0900, Namhyung Kim escreveu: > Hi Andi, > > On Sun, Jan 17, 2016 at 08:31:53PM +0100, Andi Kleen wrote: > > On Sun, Jan 17, 2016 at 01:03:00AM +0900, Namhyung Kim wrote: > > > Hello, > > > > > > This is v2 attempt of my earlier patchset [1]. This patchset > > > implements a new feature that collects hist entries in a hierachical > > > manner. That means lower-level entries belong to an upper-level > > > entry. The entry hierachy is built on the sort keys given, so users > > > can set it whatever they want. It only shows top-level entries first, > > > and user can expand/collapse it dynamically. > > > > Thanks that's very nice. Especially for TSX profiling it was always > > very annoying that the other sort keys didn't actually sort. > > It should be very useful for LBR view too. > > Glad to hear that you like it. :) > > > > > > Now we only need a better percent-limit that handles all > > leaves correctly... > > Hmm.. could you tell me where the percent-limit doesn't work > correctly? Yeah, please elaborate, I'm testing: perf top -s comm,dso,sym --hierarchy --percent-limit 0.5 And it seems to work... - Arnaldo