[PATCH] powerpc: Fix bug where perf_counters breaks oprofile

Josh Boyer jwboyer at linux.vnet.ibm.com
Tue Sep 15 06:43:48 EST 2009


On Mon, Sep 14, 2009 at 03:14:02PM -0500, Maynard Johnson wrote:
>Maynard Johnson wrote:
>> Paul Mackerras wrote:
>>> Currently there is a bug where if you use oprofile on a pSeries
>>> machine, then use perf_counters, then use oprofile again, oprofile
>>> will not work correctly; it will lose the PMU configuration the next
>>> time the hypervisor does a partition context switch, and thereafter
>>> won't count anything.
>Ben,
>Is there any way to get this bug fix into 2.6.31 or is the window closed?  Once the problem occurs, you can't get oprofile to work again without a reboot.  Really would be nice (for many reasons) to get this fixed in .31.

.31 is already released.  Could probably get it into a -stable .31 kernel
though.

josh


More information about the Linuxppc-dev mailing list