Re: [PATCH 18/20] perf annotate: Display percent type in stdio output

From: Arnaldo Carvalho de Melo
Date: Mon Aug 06 2018 - 14:27:55 EST


Em Sat, Aug 04, 2018 at 03:05:19PM +0200, Jiri Olsa escreveu:
> In following patches we will allow to switch percent type
> even for stdio annotation outputs. Adding the percent type
> value into the annotation outputs title.
>
> $ perf annotate --stdio
> Percent | Sou ... instructions:u } (2805 samples, percent: local period)
> --------------------------- ... ------------------------------------------------------
> ...
>
> $ perf annotate --stdio2
> Samples: 2K of events 'anon ... count (approx.): 156525487, [percent: local period]
> safe_write.c() /usr/bin/yes
> Percent
> ...

Thanks, tested, applied.

- Arnaldo