Monday, February 16, 2009

oprofile

http://oprofile.sourceforge.net/

Profiling tool for linux application CPU usage. Also have GUI version.

$sudo apt-get install oprofile-gui
$sudo oprofile_start



Press the Start button to start profiling. (You need to check the "No kernel image" if you don't have vmlinux). And then press Stop button to stop. Press "Save and quit".

Using opreport to see the profiling result.

$opreport

No comments:

Related Posts Plugin for WordPress, Blogger...