Re: [PATCH/FIX] perf-events: Put the per cpu state for intel_pmutoo

From: Andi Kleen
Date: Thu Nov 11 2010 - 13:44:12 EST


On 11/11/2010 6:54 PM, Stephane Eranian wrote:
On Thu, Nov 11, 2010 at 6:35 PM, Andi Kleen<andi@xxxxxxxxxxxxxx> wrote:
Small bug fix for the earlier offcore_response patch:
need to put the events for intel_pmu too, not only core_pmu.

You don't need it for core pmu, this is for Core Duo/Solo
if I recall correctly.

It shouldn't matter because Core Duo doesn't have any per CPU resources, but
it seems more symetric to call it in any case.

It may make a difference if other users of the per CPU resource code get added.

-Andi

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/