Re: Resources used by driver ?

2 messages, 1 author, 2011-02-25 · open the first message on its own page

Re: Resources used by driver ?

From: Guillaume Dargaud <hidden>
Date: 2011-02-25 13:28:03

On Wednesday 16 February 2011 08:01:10 Srivatsan S wrote:
You can use oprofile to profile the functions of your module. Follow the
link.
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 
vmlinuz)

# 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 ?
-- 
Guillaume Dargaud
http://www.gdargaud.net/

Re: Resources used by driver ?

From: Guillaume Dargaud <hidden>
Date: 2011-02-25 14:18:09

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
vmlinuz)
Sorry, I had an incomplete install of objdump/binutils on my target. I'm now 
trying to understand how to use oprofile.
-- 
Guillaume Dargaud
http://www.gdargaud.net/
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help