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

From: Jiri Olsa
Date: Mon Aug 21 2017 - 10:46:22 EST


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