arm11下Oprofile的使用
有没人在arm11下用过Oprofile?
kernel:2.6.21.5
board:s3m6400
cpu:arm1176jz
问题:
#opcontrol -e ###:##:#####//设置enent
eval: line 1: timer: not found
You cannot specify any performance counter events
because OProfile is in timer mode.
/dev/Oprofile/cpu_type :timer
我已参照maemo上的800介绍patch了Oprofile对ARM11的支持,但还是由于模式为timer interrupt,所以无法获得cpu事件,
其实也就是所有事件都无法setup.监测程序的函数调用什么的都正常.只是事件无法绑定.
有没人解决过这个问题,万分感谢.
ps:Oprofile已交叉编译,objdump,objcopy都是交叉编译的可用.kernel的Profile已打开.