Created
July 24, 2012 22:38
-
-
Save mallipeddi/3173138 to your computer and use it in GitHub Desktop.
Using oprofile
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sudo opcontrol --start-daemon | |
sudo opcontrol --shutdown | |
sudo opcontrol --status | |
sudo opcontrol --vmlinux=/usr/lib/debug/lib/modules/2.6.18-164.el5debug/vmlinux | |
sudo opcontrol --start --callgraph=5 | |
sudo opcontrol --stop | |
sudo opcontrol --dump | |
sudo opcontrol --reset | |
# http://code.google.com/p/jrfonseca/wiki/Gprof2Dot | |
sudo opreport --callgraph | gprof2dot.py -f oprofile | dot -Tpng -o output.png |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment