I installed Oprofile in my embedded device which is running under linux.
I want to profile my kernel.
I did this, you can notice the error :
root@...:~# opcontrol --vmlinux=/boot/uImage-126.96.36.199
root@...:~# opcontrol --start
The specified file /boot/uImage-188.8.131.52 does not seem to be valid
Make sure you are using the non-compressed image file (e.g. vmlinux not
Of course, I did gunzip but it says that there are bad magic, it's not
Anyone has ideas about what's caused the problem ?
By the way, what's the kernel feature that should be enabled ?
Does Oprofile compile and insert its own driver ?
Should I verify if my kernel support Oprofile or not ?