Oprofile not running on target

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

Oprofile not running on target

跳至解决方案
2,621 次查看
bharathsambacha
Contributor I

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

标签 (2)
0 项奖励
回复
1 解答
1,635 次查看
LeonardoSandova
Specialist I

Have you enabled the oprofile support on the Kernel menuconfig (it is under General Setup, Profiling Support)?

Leo

在原帖中查看解决方案

0 项奖励
回复
2 回复数
1,636 次查看
LeonardoSandova
Specialist I

Have you enabled the oprofile support on the Kernel menuconfig (it is under General Setup, Profiling Support)?

Leo

0 项奖励
回复
1,635 次查看
bharathsambacha
Contributor I

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

0 项奖励
回复