Kevin, Applied. Thanks.
On Fri, Jun 22, 2007 at 10:42:51AM -0500, Kevin Corry wrote: > Add a call to pfm_handle_switch_timeout() to the PowerPC timer_interrupt() > routine, so we can switch event-sets based on timeouts. > > Signed-off-by: Kevin Corry <[EMAIL PROTECTED]> > Signed-off-by: Carl Love <[EMAIL PROTECTED]> > > Index: linux-2.6.22-rc4-arnd1-perfmon1/arch/powerpc/kernel/time.c > =================================================================== > --- linux-2.6.22-rc4-arnd1-perfmon1.orig/arch/powerpc/kernel/time.c > +++ linux-2.6.22-rc4-arnd1-perfmon1/arch/powerpc/kernel/time.c > @@ -52,6 +52,7 @@ > #include <linux/jiffies.h> > #include <linux/posix-timers.h> > #include <linux/irq.h> > +#include <linux/perfmon.h> > > #include <asm/io.h> > #include <asm/processor.h> > @@ -631,6 +632,8 @@ void timer_interrupt(struct pt_regs * re > profile_tick(CPU_PROFILING); > calculate_steal_time(); > > + pfm_handle_switch_timeout(); > + > #ifdef CONFIG_PPC_ISERIES > if (firmware_has_feature(FW_FEATURE_ISERIES)) > get_lppaca()->int_dword.fields.decr_int = 0; > _______________________________________________ > perfmon mailing list > [email protected] > http://www.hpl.hp.com/hosted/linux/mail-archives/perfmon/ -- -Stephane _______________________________________________ perfmon mailing list [email protected] http://www.hpl.hp.com/hosted/linux/mail-archives/perfmon/
