--- Comment #5 from Marco Leise <Marco.Leise at gmx dot de> ---
I use this for callgraphs:

operf --vmlinux /usr/src/linux/vmlinux --callgraph ./app_to_be_profiled
opreport -c%g -t=0.1% -p=/lib/modules/`uname -r`/kernel/,/lib/modules/`uname

And this for detailed samples:

operf --vmlinux /usr/src/linux/vmlinux ./app_to_be_profiled
opreport -gd%rl -t=1% -p=/lib/modules/`uname -r`/kernel/,/lib/modules/`uname

The app needs no instrumentation other than - of course - debug information and
should dynamically link with libc. (OProfile also displays time spent in the
kernel, so I added the path to the uncompressed vmlinux and modules.) Hope that

You are receiving this mail because:
You are on the CC list for the bug.
bug-binutils mailing list

Reply via email to