[PATCH 1/2] powerpc/perf: Fix finding overflowed PMC in interrupt

Michael Neuling mikey at neuling.org
Tue Nov 6 12:53:03 EST 2012


> Thanks for looking into this mess. One small thing we can fix in a
> follow up patch:
> > +	if (!found)
> > +		printk(KERN_WARNING "Can't find PMC that caused
> 
> I think it would be worth making that a printk_ratelimited. We are
> probably dead at this stage but we shouldn't spam the console
> at ludicrous speed in the process.

Thanks, good point.

Mikey


More information about the Linuxppc-dev mailing list