Re: pmu::read() called erroneously in v4.13-rc{3,4}

Jiri Olsa
2017-08-21T14:46:19Z

On Fri, Aug 11, 2017 at 12:18:07PM +0100, Mark Rutland wrote:

SNIP

>
> I'm also confused by perf_output_read_group() when event == leader.
> AFAICT, in that case we won't read() the event at all, and we'll only
> read() the siblings. Is that right?

I think we assume perf_output_read_group is only called from event's
PMI which means it's already been called for event

jirka