08 2024 档案
摘要: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
阅读全文
摘要:https://mazhen.tech/p/深入探索-perf-cpu-profiling-实现原理/ 深入探索 perf CPU Profiling 实现原理 perf 是什么 perf 是由 Linux 官方提供的系统性能分析工具 。我们通常说的 perf 实际上包含两部分: perf 命令,用
阅读全文
摘要:目录IBM Locking overheadIBM - Waiting for lockskernel doc - lock statQ: lock wait time and cpu wait time IBM Locking overhead https://www.ibm.com/docs/p
阅读全文
摘要:https://docs.redhat.com/en/documentation/red_hat_enterprise_linux/5/html/systemtap_beginners_guide/futexcontentionsect#futexcontentionsect global thre
阅读全文
摘要:目录perf sched lat计算原理perf sched wait time计算过程perf sched 分析wait time perf sched lat计算原理 sched lat 计算过程: tracepoint:sched:sched_wakeup, tracepoint:sched:
阅读全文
摘要:目录linux load 计算过程ssar 架构ssar 使用示例ssar load2p -c使用问题: ReadLoadrdFileData failed. Make sure the param -c is correct, act field is not -.ssar编译安装linux lo
阅读全文
摘要:sort -k 1,1 -k 2n 按照第一列且仅按照第一列进行排序,如果第一列一样,则使用第二列数字排序(n属性) 参考:[Linux技巧(二):Linux sort命令深入解析 | sort -k M.m,N.n 命令详解](Linux技巧(二):Linux sort命令深入解析 | sort
阅读全文
摘要:linux下播放alaw文件: xfile=poweroff.alaw ;timeout 5 ffplay -i $xfile -f alaw -ac 1 -ar 8000 for xfile in $(ls *.alaw);do sleep 1s; echo $xfile;timeout 5 ff
阅读全文
摘要:https://blog.csdn.net/crylearner/article/details/38072373 确认repo代码位置:which repo 修改project.py: diff --git a/project.py b/project.py index 619cdfd..cefd
阅读全文