Re: [PATCH] perf/x86: Remove redundant calls to perf_pmu_{dis|en}able

From: Peter Zijlstra
Date: Mon Feb 23 2015 - 12:09:12 EST

On Mon, Feb 23, 2015 at 09:49:35AM -0700, David Ahern wrote:
> Hi Peter:
> On 2/18/15 10:45 AM, David Ahern wrote:
> >perf_pmu_disable is called before pmu->add and perf_pmu_enable is called
> >afterwards. No need to call these inside of x86_pmu_add as well.
> Does this make sense or did I miss something about the pmu_enable/disable
> functions?

No, I think you're right. Applied, thanks!
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at
Please read the FAQ at