Re: [PATCH 20/20] perf report: Add --percent-type option

From: Arnaldo Carvalho de Melo
Date: Mon Aug 06 2018 - 14:48:22 EST


Em Sat, Aug 04, 2018 at 03:05:21PM +0200, Jiri Olsa escreveu:
> Set annotation percent type from following choices:
> global-period, local-period, global-hits, local-hits
>
> With following report option setup the percent type will be
> passed to annotation browser:
>
> $ perf report --percent-type period-local
>
> The local/global keywords set if the percentage is computed
> in the scope of the function (local) or the whole data (global).
> The period/hits keywords set the base the percentage is computed
> on - the samples period or the number of samples (hits).

Tested, applied,

- Arnaldo