
profile
imilli
这个作者很懒,什么都没留下…
展开
-
gperftools的使用
yum install libtool下载gperftools:http://code.google.com/p/gperftools/downloads/list./autogen.sh./configure && make -j8 && make install下载libunwind:http://download.savannah.gnu.org/原创 2017-02-06 15:33:10 · 2132 阅读 · 0 评论 -
pref
1、top -H -p 进程号,查看线程占用CPU的情况。2、pstack thread_num 查看线程栈的调用情况。3、strace -o output.txt -T -tt -e trace=all -p thread_num 跟踪系统调用。原创 2018-10-10 11:00:14 · 775 阅读 · 0 评论