Closed Bug 816179 Opened 12 years ago Closed 11 years ago

PandaBoard: Profiling support

Categories

(Firefox OS Graveyard :: General, defect)

ARM
Gonk (Firefox OS)
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: tzimmermann, Assigned: tzimmermann)

References

Details

Attachments

(2 files)

The PandaBoard is one of our main test devices. We should have support for profiling.
The kernel is available at [1] and [2]. The user-space tools for Oprofile are available at [3]. The kernel also supports perf, but the user-space tools depend on glibc afaics.

[1] https://github.com/tdz/android-device-panda/tree/profiling
[2] https://github.com/tdz/android-kernel-omap/tree/profiling
[3] https://github.com/tdz/platform_external_oprofile
Hi Michael,

I added support for Oprofile on the PandaBoard. The work is almost done, but I wanted to have your opinion/comments/objects/etc before I send any pull requests.
Flags: needinfo?(mwu)
The kernel side changes look fine.

Which branch/tag did you pull the oprofile fork from?
Flags: needinfo?(mwu)
It's android-4.0.4_r2.1 from git://codeaurora.org/platform/external/oprofile.
It looks like we can pick up the libpp fix by using ics_plus_aosp.

The python script is a host side thing so I think we can just make a copy of it instead of forking the whole tree for the fix.
I had problems compiling ics-plus-aosp from the Linaro repo because bfd.h was missing. The similar branch aosp-new/ics-plus-aosp from the Codeaurora repo seems to work.

Where would the modified script be located?
Depends on: 822224
Depends on: 826184
Depends on: 822225
No longer depends on: 826184
Blocks: 826184
Kernel patches for the PandaBoard
This patch has been in master for a month without any reported regressions.
Status: ASSIGNED → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: