Now I have finally got oprofile working I was wondering how to get better information from it. Currently I am using the following steps:

Start the Profiler:
   /mnt/bin # ash opcontrol --no-vmlinux --image=/mnt/spa-terminal-test-stripped --event=CPU_CYCLES:10000:0:1:1
   /mnt/bin # ash opcontrol --start

Run the program

When the program exists, run opreport:
   opreport --accumulated --callgraph --debug-info --symbols

This gives the following output:
CPU: ARM/XScale PMU2, speed 0 MHz (estimated)
Counted CPU_CYCLES events (clock cycles counter) with a unit mask of 0x00 (No unit mask) count 10000
samples  cum. samples  %        cum. %     linenr info                 symbol name
3482     3482          100.000  100.000    (no location information)   /mnt/spa-terminal-test-stripped
3482     3482          100.000  100.000    (no location information)   /mnt/spa-terminal-test-stripped [self]

How to I get more information from opreport? I  assume that location information is missing because the target executable is stripped, unfortunately there is not enough space on the device to hold debug versions of the executable.

I have the unstripped version of this file on my linux build server.


This email and any attached files contains company confidential information which may be legally privileged. It is intended only for the person(s) or entity to which it is addressed and solely for the purposes set forth therein. If you are not the intended recipient or have received this email in error please notify the sender by return, delete it from your system and destroy any local copies. It is strictly forbidden to use the information in this email including any attachment or part thereof including copying, disclosing, distributing, amending or using for any other purpose.

In addition the sender excludes all liabilities (whether tortious or common law) for damage or breach arising or related to this email including but not limited to viruses and libel.
SELEX Communications Limited is a Private Limited Company registered in England and Wales under Company Number 964533 and whose Registered Office is Lambda House, Christopher Martin Rd, Basildon, SS14 3EL. England.