From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933654AbcATNeH (ORCPT ); Wed, 20 Jan 2016 08:34:07 -0500 Received: from mail.kernel.org ([198.145.29.136]:59771 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S933132AbcATNeF (ORCPT ); Wed, 20 Jan 2016 08:34:05 -0500 Date: Wed, 20 Jan 2016 10:34:00 -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: <20160120133400.GQ27085@kernel.org> References: <1452960197-5323-1-git-send-email-namhyung@kernel.org> <20160117193153.GI4698@two.firstfloor.org> <20160119104506.GB1324@danjae.kornet> <20160119221204.GO4698@two.firstfloor.org> <20160119222449.GL27085@kernel.org> <20160120005647.GC18796@sejong> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20160120005647.GC18796@sejong> 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 Wed, Jan 20, 2016 at 09:56:47AM +0900, Namhyung Kim escreveu: > On Tue, Jan 19, 2016 at 07:24:49PM -0300, Arnaldo Carvalho de Melo wrote: > > Em Tue, Jan 19, 2016 at 11:12:04PM +0100, Andi Kleen escreveu: > In this case, do you want this? > $ perf report --percent-limit 0.5 > ... > + 1.00% perf perf some_function > some_function > - common_caller > - 0.6% caller1 > > > Also would be nice to be able to set it dynamically from the UI. > > To set the mim percent? Yeah, we need to allow setting all those knobs > > from the UI. > > I.e. should be like when we press '/' to set a substring filter. > Yes, how about 'L' key for limit? We have other limits we can set, perhaps we should use 'l' and do something like mutt does, i.e. accept expressions that would allow us to have a flexible way of setting limits, not just for the percentage thresholds for hist_entries (callchains later). - Arnaldo