http://nouveau.freedesktop.org/wiki/OProfileOProfile
Why OProfile?Sometimes you want to get an idea were bottlenecks lie, and oprofile is ideal for that. It's a statistical profiler for linux. It requires kernel support (CONFIG_OPROFILE). Basic howtoInstall oprofile and make sure your kernel supports it.
Alternatively, you can use a modified version of Carl Worth's oprofile script that can be found [here:http://cworth.org/bin/profile]. Change the paths to match the ones of your system. NotesThe
callgraph function can provide some hints were function calls are
coming from, you just have to get familiar with them before you
understand them. Please be aware that optimisation leads to inlining of
functions and this affects profiling just as it affects debugging.
You'll need to request a callgraph depth for this to work. |
