ARM Cortex-A9 (SMP) is currently unsupported by OProfile

Bug #591862 reported by Will Deacon
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
oprofile (Ubuntu)
Fix Released
Undecided
Loïc Minier

Bug Description

Binary package hint: oprofile

Hello,

OProfile on ARM currently doesn't support the Cortex-A9 platform. With the 2.6.35 release of the Linux Kernel,
the OProfile backend for the Cortex-A9 will be available. The userspace patches to make use of this new feature
are available on the OProfile mailing list at:

http://marc.info/?l=oprofile-list&m=127411918506283&w=2

Since Maverick is targeting 2.6.35, Loic Minier (lool) suggested I report
this `bug' so that the userspace support can be enabled for ARM.

Thanks!

Will

Revision history for this message
Will Deacon (will-deacon) wrote :
Loïc Minier (lool)
Changed in oprofile (Ubuntu):
assignee: nobody → Loïc Minier (lool)
status: New → In Progress
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package oprofile - 0.9.6-1ubuntu8

---------------
oprofile (0.9.6-1ubuntu8) maverick; urgency=low

  * New patches, ARMv7 cleanup and Cortex-A9 support, backported from
    http://article.gmane.org/gmane.linux.oprofile/8563; LP: #591862.
    - arm-factor-out-armv7-common-architectural-events
    - arm-correct-usage-of-core-technology-for-v7-and-mpcore
    - arm-add-support-for-cortex-a9-events
 -- Loic Minier <email address hidden> Thu, 17 Jun 2010 13:10:23 +0200

Changed in oprofile (Ubuntu):
status: In Progress → Fix Released
Revision history for this message
Loïc Minier (lool) wrote :

(For my own reference, thread on gmane at http://article.gmane.org/gmane.linux.oprofile/8563 which I find slightly easier to read)

Will, I see this got positive comments on the list but nobody said they would merge it and I don't see it in today's CVS. I'm not familiar with the oprofile upstream development process, but the oprofile website points at their bug tracker, so you might want to file a bug at http://sourceforge.net/tracker/?group_id=16191&atid=116191 to make sure your patches land upstream.

Revision history for this message
Loïc Minier (lool) wrote :

Also, would you mind testing the resulting oprofile binaries on armel when you get the chance? I had to adapt the patch adding Cortex-A9 CPU slightly, but I don't expect regressions from this particular change, just seems a good idea to test the final Ubuntu binaries.

Thanks!

Revision history for this message
Loïc Minier (lool) wrote :

(If you report an upstream bug, feel free to link it here, either in a comment or adding an "upstream" task to this bug with the "Also affects" button; thanks!)

Revision history for this message
haohui (ricetons) wrote :

Does it work on the marvick release?

I tried these packages and they required an out of dated version of binutils.

Revision history for this message
Loïc Minier (lool) wrote :

Will, did the userspace patches get merged upstream by any chance?

Revision history for this message
Will Deacon (will-deacon) wrote : Re: [Bug 591862] Re: ARM Cortex-A9 (SMP) is currently unsupported by OProfile

On Fri, Jul 08, 2011 at 09:50:39AM +0100, Loïc Minier wrote:
> Will, did the userspace patches get merged upstream by any chance?

Yes, although they haven't made a release for a couple of years now, so
you'll need to get the latest version via git.

One of the patches is here:

http://oprofile.git.sourceforge.net/git/gitweb.cgi?p=oprofile/oprofile;a=commit;h=57c2f7bf1dcc79e08ca5e0d1216b8b0499dfbaab

Unfortunately, they don't seem to preserve authorship in their repo :(

Will

Revision history for this message
Loïc Minier (lool) wrote :

Thanks for confirming!

Revision history for this message
Kyler Zhang (zachary6626) wrote :

I can not running oprofile normally on OMAP4460.
The PMU interrupt enable register always be changed by any process.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.