文章详情

  • 游戏榜单
  • 软件榜单
关闭导航
热搜榜
热门下载
热门标签
php爱好者> php文档>FC4 下编译Linux内核+perfctr

FC4 下编译Linux内核+perfctr

时间:2006-05-19  来源:YuanXU

FC4 下编译Linux内核+perfctr

1.得到内核并解压
#bunzip2 linux-2.6.11.tar.bz2
#tar xf linux-2.6.11.tar

2.
#cd linux-2.6.11
#make mrproper

3.设$PDIR为perfctr的解压目录
#$PDIR/update-kernel

4.拷贝现有的.config
# cp /usr/src/kernels/2.6.11-1.1369_FC4-i686/.config .

5.配置.config
#make xconfig
在弹出的界面中选上Performance monitoring counters support (PERFCTR)这一项

6.修改Makefile
加上扩展版本号:
<META content="Kate, the KDE Advanced Text Editor" name=Generator>
EXTRAVERSION =perfctr

7.编译kernel
#make dep vmlinux modules
  8.安装kernel #make modules_install #make install   9.重新启动,选择新内核启动 #reboot   10.编译安装perfctr #cd $PDIR #make #mknod /dev/perfctr c 10 108 #chmod 644 /dev/perfctr #make PREFIX=/usr/local install   至此,安装全部完成,你可以使用perfctr计时了,可以运行perfctr带的测试程序测试安装是否成功。
相关阅读 更多 +
排行榜 更多 +
鹰眼IV

鹰眼IV

飞行射击 下载
火柴人史诗射手

火柴人史诗射手

飞行射击 下载
10发子弹安卓版

10发子弹安卓版

飞行射击 下载