摘要: perf on-cpu xpid=$(cat /var/run/xx.pid); perf record -F 99 -p $xpid --call-graph dwarf -- sleep 60 直接在控制台上查看:perf report 或者生成火焰图: xdata=...; perf scri 阅读全文
posted @ 2024-08-31 23:50 LiYanbin 阅读(140) 评论(0) 推荐(0) 编辑
摘要: https://mazhen.tech/p/深入探索-perf-cpu-profiling-实现原理/ 深入探索 perf CPU Profiling 实现原理 perf 是什么 perf 是由 Linux 官方提供的系统性能分析工具 。我们通常说的 perf 实际上包含两部分: perf 命令,用 阅读全文
posted @ 2024-08-31 23:43 LiYanbin 阅读(144) 评论(0) 推荐(0) 编辑
点击右上角即可分享
微信分享提示