Re: [patch] perf wrong enabled time after attach/enable/enable

From: Vince Weaver
Date: Thu Aug 03 2017 - 14:08:00 EST


On Wed, 2 Aug 2017, Peter Zijlstra wrote:

> Playing with that test it really is the IOC_DISABLE while STOP'ed that
> messes things up.
>
> Ah.. magic.. the below seems to fix things, hopefully it doesn't break
> anything else.

yes, I've tested this and it seems to fix things.

With both this and the other patch applied PAPI can finally pass all of
its validation tests when running with RDPMC support enabled.

Thanks,

Vince