Last active
May 22, 2024 05:15
-
-
Save akochepasov/1d57a8ae9dca9e7daae0af58bd5508df to your computer and use it in GitHub Desktop.
Run perf, make flamegraph
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
# https://www.brendangregg.com/perf.html | |
/usr/local/bin/perf record -g -e cpu-clock -F 99 <bin_file> | |
/usr/local/bin/perf script | stackcollapse-perf.pl | flamegraph.pl > mm_flame.svg |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment