perf+flame分析程序性能,并生成火焰图。安装perf工具安装flame工具perf命令简介生成火焰图
安装perf工具sudo apt-get install linux-tools-common linux-tools-generic linux-tools-`uname -r`安装flame工具git clone git@github.com:brendangregg/FlameGraph.gitcd ./FlameGraphchmod +x *.plperf命令简介usage: perf [--version] [--help] [OPTIONS] COMMAND [ARGS]