perf usage

来源:互联网 发布:r语言入门 知乎 编辑:程序博客网 时间:2024/06/03 17:29


perf top 

perf top -p pid -G 


press ? would get the help menu, as the follow


shift + e would get the call chains 



perf record/report 

sudo perf record -p pid -g 

the data will written into file perf.data . we can specify another file with option -o 


sudo perf report -g or sudo perf report -g -i perf.data 


shift + e would get the callchains also 

sudo perf report -g --stdio 



0 0