Thread (19 messages) 19 messages, 6 authors, 2012-05-15

oprofile and ARM A9 hardware counter

From: Will Deacon <hidden>
Date: 2012-05-11 13:49:21
Also in: linux-omap

Possibly related (same subject, not in this thread)

On Fri, May 11, 2012 at 02:47:17PM +0100, Jon Hunter wrote:
On 05/11/2012 07:25 AM, Will Deacon wrote:
quoted
I figured I may as well take perf for a spin and see how I got on. The good
news is that the hwmod bits all seem to work as before and the correct IRQs
are requested:

root at florentine-pogen:~# cat /proc/interrupts
           CPU0       CPU1
 29:      44527      17916       GIC  twd
 33:          0          0       GIC  arm-pmu
 34:          0          0       GIC  arm-pmu

But, unfortunately, as you can see from the above, I just can't persuade them
to fire. The PMU counters do tick, but they happily increment through zero
without us realising. I retested with my perf/omap4 branch to make sure my
board is ok, and the irqs do fire there.

Any ideas?
Do you disable OMAP2/3 support in the kernel config, so that CPU_HAS_PMU
is enabled?
I enabled OMAP3 debug peripherals, so I selected CPU_HAS_PMU that way.

Will
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help