oprofile 主要用来分析某个模块的某些函数占用cpu的情况。
oprofile 从安装到使用具体步骤如下:
安装如下:
1
从http://oprofile.sourceforge.net/download/ 下oprofile的最新版本:oprofile-0.9.6.tar.gz(目前为止)
2
解压后,在oprofile-0.9.6文件夹中运行 ./configure --with-kernel-support 。在最后会遇到一个
问题1:
configure: error: liberty library not found