Re: [PATCH 1/6] perf, tools, stat: Check existence of frontend/backed stalled cycles

From: Arnaldo Carvalho de Melo
Date: Mon Feb 29 2016 - 09:44:40 EST


Em Mon, Feb 29, 2016 at 11:10:35AM +0100, Jiri Olsa escreveu:
> On Fri, Feb 26, 2016 at 04:27:56PM -0800, Andi Kleen wrote:
> > From: Andi Kleen <ak@xxxxxxxxxxxxxxx>
> >
> > Only put the frontend/backend stalled cycles into the default
> > perf stat events when the CPU actually supports them.
> >
> > This avoids empty columns with --metric-only on newer Intel CPUs.
> >
> > Signed-off-by: Andi Kleen <ak@xxxxxxxxxxxxxxx>
>
> Acked-by: Jiri Olsa <jolsa@xxxxxxxxxx>

Applied and tested, thanks!

- Arnaldo