[Fedora-xen] how to get non-compressed vmlinux for Oprofile

Songtao Liu songtao.liu at mytum.de
Wed May 30 15:01:30 UTC 2007


Hi,*

A question about how to get the non-compressed vmlinux, not vmlinuz, reasons as follows:

when I want to run Oprofile, I should run this command
# opcontrol --start --vmlinux=/boot/vmlinux-'uname -r'
But firstly I should get the vmlinux, otherwise the following error will pop up:

The specified file /boot/vmlinux-uname does not seem to be valid
Make sure you are using the non-compressed image file (e.g. vmlinux not vmlinuz)

I am running the Oprofile on fedora with kernel-xen 2.6.19-1.2911.6.5.fc6xen, as the latest kernel-xen version 2.6.20-1.2948 is very unstable. So I don't want to update my current kernel-xen.

How can I get the vmlinux??
In fact if I run this:
yum --enablerepo=core-debuginfo --enable=updates-debuginfo install\ kernel-debuginfo

and then

# rpm -q --list kernel-xen-debuginfo | grep vmlinux
/usr/lib/debug/lib/modules/2.6.20-1.2948.fc6xen/vmlinux

I will get the 2.6.20-1.2948.fc6xen vmlinux, the latest one, which doesn't match my kernel-xen 2.6.19-1.2911.6.5.fc6xen.

How can I get the vmlinux which matches my kernel-xen?

some relevant links about how to set up Oprofile:
http://www.serpentine.com/blog/2006/12/17/make-linux-performance-analysis-easier-with-oprofile/
http://people.redhat.com/wcohen/FedoraCore6OProfileTutorial.txt

Any hints will be greatly appreciated!!!
Thanks!!! 


More information about the Fedora-xen mailing list