OProfile入門——安裝篇
阿新 • • 發佈:2019-01-09
參考博文:
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