Re: [PATCH 1/1] perf stat: Only auto-merge events that are PMU aliases

From: Jiri Olsa
Date: Fri Sep 01 2017 - 12:12:46 EST


On Thu, Aug 31, 2017 at 03:41:22PM -0300, Arnaldo Carvalho de Melo wrote:
> Hi Andi, Jiri,
>
> Please check the patch below, would be glad to have your acks,
>
> - Arnaldo
>
> Peter reported that when he explicitely asked for multiple events with
> the same name on the command line it got coalesced into just one line,
> i.e.:
>
> # perf stat -e cycles -e cycles -e cycles usleep 1
>
> Performance counter stats for 'usleep 1':
>
> 3,269,652 cycles
>
> 0.000884123 seconds time elapsed

looks good

Acked-by: Jiri Olsa <jolsa@xxxxxxxxxx>

thanks,
jirka