无缘挑战杯的远程监控项目及源码
在使用oprofile时,有一个参数指定内核文件,系统中/boot目录下的 "/boot/vmlinuz-2.6.32-30-generic" 文件是压缩过的bzImage,不能用作"opcontrol --vmlinux=/boot/vmlinuz-2.6.32-30-generic" 指定的参数。
错误如下:
root@zhanglong:~# opcontrol --start
/usr/bin/objdump
The specified file /boot/vmlinuz-2.6.32-30-generic does not seem to be valid
Make sure you are using the non-compressed image file (e.g. vmlinux not vmlinuz)
好像要求的是没有压缩的ELF格式的内核文件。
怎样才能得到此oprofile命令中可用的内核文件 ?
错误如下:
root@zhanglong:~# opcontrol --start
/usr/bin/objdump
The specified file /boot/vmlinuz-2.6.32-30-generic does not seem to be valid
Make sure you are using the non-compressed image file (e.g. vmlinux not vmlinuz)
好像要求的是没有压缩的ELF格式的内核文件。
怎样才能得到此oprofile命令中可用的内核文件 ?
作者: zhanglong71 发布时间: 2011-03-25