Re: [PATCH] perf_events: improve Intel event scheduling

Peter Zijlstra
2010-01-07T08:55:30Z

On Thu, 2010-01-07 at 15:13 +1100, Paul Mackerras wrote:
>
> On powerpc, the pmu->enable() function always stops the PMU if it
> wasn't already stopped.

I just looked at the generic code and it looks like kernel/perf_event.c
always calls perf_disable() before calling ->enable().