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
已解决! 转到解答。
Have you enabled the oprofile support on the Kernel menuconfig (it is under General Setup, Profiling Support)?
Leo