Re: [PATCH] perf report: Add support to display group output for non group events

From: Arnaldo Carvalho de Melo
Date: Fri Feb 09 2018 - 14:12:25 EST


Em Fri, Feb 09, 2018 at 08:10:57PM +0100, Jiri Olsa escreveu:
> On Fri, Feb 09, 2018 at 03:37:11PM -0300, Arnaldo Carvalho de Melo wrote:
> > Em Fri, Feb 09, 2018 at 10:27:34AM +0100, Jiri Olsa escreveu:

> > Humm, its a nice hack, but it would be even better if it didn't showed
> > it as if it was really a group:

> > Samples: 20 of event 'anon group { cycles, instructions }', Event count (approx.): 4712980

> > It would be better to instead add another condition to the evlist that
> > would trigger the view with all the examples...

> > I'm applying it anyway, as it is useful, but would be nice to have the
> > same output except for that header, that should read instead:

> > Samples: 20 of non grouped events: cycles, instructions, Event count (approx.): 4712980

> right, I'll try to post something like that

I've pushed out with this patch, so please go on from there.

Thanks!

- Arnaldo