git clone --depth 1 https://github.com/brendangregg/FlameGraph.git
cd FlameGraph
# sample CPU stack trace at 99 MHz for 30 secs on PID 15568
sudo perf record -F 99 -p 15568 -g -- sleep 60
# Generating the graph
sudo perf script | ./stackcollapse-perf.pl | ./flamegraph.pl > perf.svg
Last active
April 23, 2016 21:13
-
-
Save toff63/9487f030802d85b6e535 to your computer and use it in GitHub Desktop.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment