On Tue, 2006-08-15 at 02:20 +0000, Ben Collins wrote:
> Please provide more info on what the kernel needs to support this. I'm
> not familiar with callgraph or oprofile (I know what oprofile is, but
> haven't used it).

http://oprofile.sourceforge.net/doc/opreport.html#opreport-callgraph
shows how to use oprofile to get callgraph information...


for instance, build the sample c file there.

then do
sudo opcontrol --shutdown
sudo opcontrol --reset
sudo opcontrol --setup \
        --no-vmlinux \
        --callgraph=30 \
        --separate=library
sudo opcontrol --start
`pwd`/a.out
sudo opcontrol --shutdown

should be enough to get an oprofile log for a.out.

then
opreport --callgraph `pwd`/a.out should give a callgraph output

At the moment, on dapper, I get:


well blow me down. NOW it decides to work. I've no idea why.

This bug can be closed.

-Rob

-- 
GPG key available at: <http://www.robertcollins.net/keys.txt>.

-- 
callgraph support ?
https://launchpad.net/bugs/56401

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to