From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S965457AbcAUOyL (ORCPT ); Thu, 21 Jan 2016 09:54:11 -0500 Received: from mail.kernel.org ([198.145.29.136]:41087 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S965223AbcAUOyG (ORCPT ); Thu, 21 Jan 2016 09:54:06 -0500 Date: Thu, 21 Jan 2016 11:54:03 -0300 From: Arnaldo Carvalho de Melo To: Taeung Song Cc: linux-kernel@vger.kernel.org, Jiri Olsa , Namhyung Kim , Ingo Molnar Subject: Re: [PATCH v13 06/23] perf config: Document 'hist.percentage' variable in man page Message-ID: <20160121145403.GC4034@kernel.org> References: <1452253193-30502-1-git-send-email-treeze.taeung@gmail.com> <1452253193-30502-7-git-send-email-treeze.taeung@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1452253193-30502-7-git-send-email-treeze.taeung@gmail.com> 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 Fri, Jan 08, 2016 at 08:39:36PM +0900, Taeung Song escreveu: > Explain 'hist.percentage' variable. > > Cc: Namhyung Kim > Cc: Jiri Olsa > Signed-off-by: Taeung Song > --- > tools/perf/Documentation/perf-config.txt | 17 +++++++++++++++++ > 1 file changed, 17 insertions(+) > > diff --git a/tools/perf/Documentation/perf-config.txt b/tools/perf/Documentation/perf-config.txt > index aaf1791..b9892e5 100644 > --- a/tools/perf/Documentation/perf-config.txt > +++ b/tools/perf/Documentation/perf-config.txt > @@ -282,6 +282,23 @@ help.*:: > help.format:: > A format of manual page can be 'man' that is default. > > +hist.*:: > + hist.percentage:: > + This option control the way to calculate overhead of filtered entries - > + that means the value of this option is effective only if there's a > + filter (by comm, dso or symbol name). Suppose a following example: > + > + Overhead Symbols > + ........ ....... > + 33.33% foo > + 33.33% bar > + 33.33% baz > + > + This is an original overhead and we'll filter out the first 'foo' > + entry. The value of 'relative' would increase the overhead of 'bar' > + and 'baz' to 50.00% for each, while 'absolute' would show their > + current overhead (33.33%). Ditto, this one can be toggled interactively using 'F' - Arnaldo