lkml.org 
[lkml]   [2018]   [Aug]   [6]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH 19/20] perf annotate: Add --percent-type option
Em Sat, Aug 04, 2018 at 03:05:20PM +0200, Jiri Olsa escreveu:
> Adding --percent-type option to set annotation percent type
> from following choices:
> global-period, local-period, global-hits, local-hits
>
> Examples:
> $ perf annotate --percent-type period-local --stdio | head -1
> Percent | Source code ... es, percent: local period)
> $ perf annotate --percent-type hits-local --stdio | head -1
> Percent | Source code ... es, percent: local hits)
> $ perf annotate --percent-type hits-global --stdio | head -1
> Percent | Source code ... es, percent: global hits)
> $ perf annotate --percent-type period-global --stdio | head -1
> Percent | Source code ... es, percent: global period)
>
> 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).

Thanks, tested, applied.

- Arnaldo

\
 
 \ /
  Last update: 2018-08-06 20:33    [W:0.292 / U:0.436 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site