Created
August 24, 2015 06:32
-
-
Save jestan/8919b91eca5a7a43d3d6 to your computer and use it in GitHub Desktop.
CPU Profiling with 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
# run following command as root for 2 mins to collect data, data will be written into "perf.data" file | |
perf record -F 99 -p <PID> | |
# run following command to display the recoded data | |
perf report | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment