火焰圖使用教程

使用 perf 分析性能,可以生成火焰圖查看,下面是一分鐘教程:   1、從 https://github.com/brendangregg/FlameGraph 下載壓縮包上傳到要 perf 的機器   2、照着火焰圖項目首頁的說明來,4行命令: perf record -F 1000 -p 59750 -g -- sleep 180 perf script > out.perf ./Flame
相關文章
相關標籤/搜索