Skip to contentSkip to conversation

oprofile on OMAP2: ARM11 PMU interrupts?

DISCUSSION Kevin Hilman 3 participants 4 messages Oct 26, 2007 – Oct 29, 2007

lore
Share & tools
lore
#0 lore raw

Is anyone using oprofile on OMAP2?

A quick test of the current code in current git doesn't seem to work. I see the PMU being configured, IRQ3 being registered but no interrupts ever fire on that IRQ, and thus no data is collected.

I tested on a 2420/H4 and 2430SDP with same results. In both cases, the IRQ is configured to IRQ3, which in the TRM says 'BENCH MPU emulation'.
I have no idea what that means, but it doesn't sound like the ARM11 PMU
interrupt to me though.

Any ideas?

Kevin

#1 lore raw

Hi Kevin,

Yes, several people are using it locally on SDP2430 for measurements. It is pretty neat.

Yes IRQ3 is correct I believe.

There is a patch around which makes it work on ML4.1 which someone did a while back. Last comment I saw was Russell's base patch had a few mistakes when needed fixing.

I'll take a look for the path and send you a copy. Perhaps you can push out fixes as your currently interested.

Regards,
Richard W.

Quoted 18 lines

Is anyone using oprofile on OMAP2?

A quick test of the current code in current git doesn't seem to work. I see the PMU being configured, IRQ3 being registered but no interrupts ever fire on that IRQ, and thus no data is collected.

I tested on a 2420/H4 and 2430SDP with same results. In both cases, the IRQ is configured to IRQ3, which in the TRM says 'BENCH MPU emulation'.
I have no idea what that means, but it doesn't sound like the ARM11 PMU
interrupt to me though.

Any ideas?

Kevin
_______________________________________________
Linux-omap-open-source mailing list
[email protected]
http://linux.omap.com/mailman/listinfo/linux-omap-open-source

#2 lore raw

FYI: Refer to the following article

http://blog.gustavobarbieri.com.br/2007/05/22/oprofile-and-maemo-n800/

I saw this article a month ago, but I also don't test it. It needs the Oprofile modification.

Thank you,
Kyungmin Park

Quoted 44 lines

-----Original Message-----
From: [email protected] [mailto:linux-omap-open-source- [email protected]] On Behalf Of Woodruff, Richard
Sent: Saturday, October 27, 2007 5:53 AM
To: Kevin Hilman; Linux OMAP
Subject: RE: oprofile on OMAP2: ARM11 PMU interrupts?

Hi Kevin,

Yes, several people are using it locally on SDP2430 for measurements. It is pretty neat.

Yes IRQ3 is correct I believe.

There is a patch around which makes it work on ML4.1 which someone did a while back. Last comment I saw was Russell's base patch had a few mistakes when needed fixing.

I'll take a look for the path and send you a copy. Perhaps you can push out fixes as your currently interested.

Regards,
Richard W.

Quoted 11 lines

Is anyone using oprofile on OMAP2?

A quick test of the current code in current git doesn't seem to work. I see the PMU being configured, IRQ3 being registered but no interrupts ever fire on that IRQ, and thus no data is collected.

I tested on a 2420/H4 and 2430SDP with same results. In both cases, the IRQ is configured to IRQ3, which in the TRM says 'BENCH MPU emulation'.
I have no idea what that means, but it doesn't sound like the ARM11 PMU
interrupt to me though.

Quoted 7 lines

Any ideas?

Kevin
_______________________________________________
Linux-omap-open-source mailing list
[email protected]
http://linux.omap.com/mailman/listinfo/linux-omap-open-source

_______________________________________________
Linux-omap-open-source mailing list
[email protected]
http://linux.omap.com/mailman/listinfo/linux-omap-open-source

#3 lore raw
Quoted 7 lines · Kyungmin Park

FYI: Refer to the following article

http://blog.gustavobarbieri.com.br/2007/05/22/oprofile-and-maemo-n800/

I saw this article a month ago, but I also don't test it. It needs the Oprofile modification.

Yeah, I've seen various patches to the oprofile tools floating around for ARMv6 support, but from what I can see so far, these are incoporated into oprofile 0.9.3, which I still haven't got working on my 2430.

Kevin