Created
January 30, 2013 17:27
-
-
Save jayjanssen/4674892 to your computer and use it in GitHub Desktop.
Running perf
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
| install perf | |
| install galera-debuginfo (if PXC) | |
| install PS/PXC debuginfo | |
| # collect 1 pid | |
| perf record -g -p 16004 | |
| # collect all procs | |
| perf record -a -g | |
| # report of 'record' collection | |
| perf report -g --stdio -v | curl -s -F 'sprunge=<-' http://sprunge.us | |
| # same, but limit size | |
| perf report -g --stdio -v | head -c 256k | curl -s -F 'sprunge=<-' http://sprunge.us | |
| perf top |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment