Re: [PATCH 5/8] powerpc/perf: Don't enable if we have zero events
From: Anshuman Khandual <hidden>
Date: 2013-06-28 05:11:00
From: Anshuman Khandual <hidden>
Date: 2013-06-28 05:11:00
On 06/24/2013 04:58 PM, Michael Ellerman wrote:
In power_pmu_enable() we still enable the PMU even if we have zero events. This should have no effect but doesn't make much sense. Instead just return after telling the hypervisor that we are not using the PMCs. Signed-off-by: Michael Ellerman <redacted>
Reviewed-by: Anshuman Khandual <redacted>