Re: [PATCH v13 06/23] perf config: Document 'hist.percentage' variable in man page

From: Arnaldo Carvalho de Melo
Date: Thu Jan 21 2016 - 09:54:14 EST


Em Fri, Jan 08, 2016 at 08:39:36PM +0900, Taeung Song escreveu:
> Explain 'hist.percentage' variable.
>
> Cc: Namhyung Kim <namhyung@xxxxxxxxxx>
> Cc: Jiri Olsa <jolsa@xxxxxxxxxx>
> Signed-off-by: Taeung Song <treeze.taeung@xxxxxxxxx>
> ---
> 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