oprofile and ARM A9 hardware counter

Ming Lei ming.lei at canonical.com
Tue Mar 6 21:49:46 EST 2012


Hi Will,

On Fri, Jan 27, 2012 at 11:54 PM, Will Deacon <will.deacon at arm.com> wrote:
> Ok. Note that on ARM the PMU generates a standard IRQ (i.e. not an NMI) so
> you may miss samples if they occur during critical kernel sections (and if
> you look at a profile, spin_unlock_irqrestore will be quite high).

Also looks no any irq handler functions can be observed at a profile even
though they may be run at a very high frequency.

So could we configure ARM PMU interrupt as FIQ to address the above issues?

thanks
--
Ming Lei



More information about the linux-arm-kernel mailing list