Last active
April 30, 2017 19:03
-
-
Save cantremember/59b227de649354c3e3dc4a69fb425e12 to your computer and use it in GitHub Desktop.
perf + brendangregg/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
#!/bin/bash | |
# | |
# https://perf.wiki.kernel.org/index.php/Main_Page | |
# https://perf.wiki.kernel.org/index.php/Tutorial#Sampling_with_perf_record | |
# https://perf.wiki.kernel.org/index.php/Tutorial#Sample_analysis_with_perf_report | |
sudo apt-get install -y linux-tools-`uname -r` | |
sudo apt-get install -y linux-tools-common | |
sudo apt-get install -y linux-cloud-tools-`uname -r` | |
sudo apt-get install -y linux-cloud-tools-common | |
# https://github.com/brendangregg/FlameGraph | |
# http://www.brendangregg.com/perf.html | |
# http://www.slideshare.net/brendangregg/scale2015-linux-perfprofiling | |
git clone https://github.com/brendangregg/FlameGraph |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment