Resources used by driver ?
dargaud at lpsc.in2p3.fr
Sat Feb 26 00:01:33 EST 2011
On Wednesday 16 February 2011 08:01:10 Srivatsan S wrote:
> You can use oprofile to profile the functions of your module. Follow the
> http://oprofile.sourceforge.net/ <http://oprofile.sourceforge.net/news/>
OK, after some wrestling, I got oprofile installed in my OS (buildroot 2011.02-
rc1) and my kernel (xilinx patches 2.6.35+).
When I start oprofile, I get the following:
# opcontrol --vmlinux=/vmlinux
The specified file /vmlinux does not seem to be valid
Make sure you are using the non-compressed image file (e.g. vmlinux not
# file /vmlinux
/vmlinux: ELF 32-bit MSB executable, PowerPC or cisco 4500, version 1 (SYSV),
statically linked, with unknown capability 0x41000000 = 0x11676e75, with
unknown capability 0x10000 = 0x90402, not stripped
I used the vmlinux generated found in ../linus-2.6-xlnx/vmlinux
What's wrong with it ?
More information about the Linuxppc-dev