参考博文:
http://blog.csdn.net/luckywang1103/article/details/44087325
http://blog.csdn.net/lgh2008/article/details/1831184
1. 准备工作
参考博文:
http://blog.csdn.net/luckywang1103/article/details/44087325
http://blog.csdn.net/lgh2008/article/details/18311841. 准备工作
(1)下载OProfile:
下载地址:https://sourceforge.net/projects/oprofile/files/oprofile/
(2)下载Popt
下载地址:http://www.linuxfromscratch.org/blfs/view/svn/general/popt.html
(2)下载binutils
下载地址:http://ftp.gnu.org/gnu/binutils/?C=M;O=D
2.安装binutils
(1)解压缩
(2)安装
cd binutils-2.27
./configure --with-sysroots
make clean
make
sudo make install
3.安装Popt
(1)解压缩
(2)安装./configure
make clean
make
sudo make install
4.安装OProfile
(1)解压缩
(2)安装./configure
make clean
make
sudo make install