Skip to content

Instantly share code, notes, and snippets.

@cantremember
Last active April 30, 2017 19:03
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save cantremember/59b227de649354c3e3dc4a69fb425e12 to your computer and use it in GitHub Desktop.
Save cantremember/59b227de649354c3e3dc4a69fb425e12 to your computer and use it in GitHub Desktop.
perf + brendangregg/FlameGraph
#!/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