perf工具的使用

監控 測試 優化 perf + 火焰圖分析程序性能 1、perf命令簡要介紹 性能調優時,我們通常需要分析查找到程序百分比高的熱點代碼片段,這便需要使用 perf record 記錄單個函數級別的統計信息,並使用 perf report 來顯示統計結果; perf record perf report 舉例: sudo perf record -e cpu-clock -g -p 2548 -g
相關文章
相關標籤/搜索