public inbox for linux-omap@vger.kernel.org
 help / color / mirror / Atom feed
* oprofile on OMAP2: ARM11 PMU interrupts?
@ 2007-10-26 17:37 Kevin Hilman
  2007-10-26 20:53 ` Woodruff, Richard
  0 siblings, 1 reply; 4+ messages in thread
From: Kevin Hilman @ 2007-10-26 17:37 UTC (permalink / raw)
  To: Linux OMAP

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

^ permalink raw reply	[flat|nested] 4+ messages in thread

* RE: oprofile on OMAP2: ARM11 PMU interrupts?
  2007-10-26 17:37 oprofile on OMAP2: ARM11 PMU interrupts? Kevin Hilman
@ 2007-10-26 20:53 ` Woodruff, Richard
  2007-10-29  0:48   ` Kyungmin Park
  0 siblings, 1 reply; 4+ messages in thread
From: Woodruff, Richard @ 2007-10-26 20:53 UTC (permalink / raw)
  To: Kevin Hilman, Linux OMAP

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.

> 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
> Linux-omap-open-source@linux.omap.com
> http://linux.omap.com/mailman/listinfo/linux-omap-open-source

^ permalink raw reply	[flat|nested] 4+ messages in thread

* RE: oprofile on OMAP2: ARM11 PMU interrupts?
  2007-10-26 20:53 ` Woodruff, Richard
@ 2007-10-29  0:48   ` Kyungmin Park
  2007-10-29 16:45     ` Kevin Hilman
  0 siblings, 1 reply; 4+ messages in thread
From: Kyungmin Park @ 2007-10-29  0:48 UTC (permalink / raw)
  To: 'Woodruff, Richard', 'Kevin Hilman',
	'Linux OMAP'

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

> -----Original Message-----
> From: linux-omap-open-source-bounces@linux.omap.com [mailto:linux-omap-open-source-
> bounces@linux.omap.com] 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.
> 
> > 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
> > Linux-omap-open-source@linux.omap.com
> > http://linux.omap.com/mailman/listinfo/linux-omap-open-source
> _______________________________________________
> Linux-omap-open-source mailing list
> Linux-omap-open-source@linux.omap.com
> http://linux.omap.com/mailman/listinfo/linux-omap-open-source

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: oprofile on OMAP2: ARM11 PMU interrupts?
  2007-10-29  0:48   ` Kyungmin Park
@ 2007-10-29 16:45     ` Kevin Hilman
  0 siblings, 0 replies; 4+ messages in thread
From: Kevin Hilman @ 2007-10-29 16:45 UTC (permalink / raw)
  To: kyungmin.park; +Cc: 'Linux OMAP'

Kyungmin Park wrote:
> 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

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2007-10-29 16:45 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-10-26 17:37 oprofile on OMAP2: ARM11 PMU interrupts? Kevin Hilman
2007-10-26 20:53 ` Woodruff, Richard
2007-10-29  0:48   ` Kyungmin Park
2007-10-29 16:45     ` Kevin Hilman

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox