I want to use oprofile to get profiling information for my applications on i.MX6Q sabrelite target environment.
I have selected the oprofile package in ltib and built the kernel image.
I am able booting the board using the NFS, but when I try to start the oprofile (by giving command "opcontrol --vmlinux=/home/htsl/FQuad/Build_New/Build/rootfs/boot/vmlinux")on the target I get the error message as
modprobe: module oprofile not found in modules.dep
modprobe: module oprofile not found in modules.dep
Kernel doesn't support oprofile
Also when I issue command operf it says command not found.
please help me to resolve this.
Host operating system: Ubuntu 10.04 LTS
ltib version: 9.1.1
Kernel version: 3.0.35
Solved! Go to Solution.
Have you enabled the oprofile support on the Kernel menuconfig (it is under General Setup, Profiling Support)?
Leo
Have you enabled the oprofile support on the Kernel menuconfig (it is under General Setup, Profiling Support)?
Leo
Hi Leo,
Thanks for the quick response, now I have enabled the kernel profiling option and oprofile support in kernel configuration and it seems to be working.
Best Regards,
Bharath S