红联Linux门户
Linux帮助
当前位置: 红联Linux门户 > Ubuntu

Ubuntu下安装oprofile后执行出错!请大家帮忙!

发布时间:2008-07-24 10:44:01来源:红联作者:china_clear
我用的ubuntu是嵌入式,芯片为Xscale270.
Linux内核为:2.6.14.7-intc1-bs3
我把oprofile在交叉编译环境编译好后,手工COPY到目标机上,编译出的执行文件都可以执行,只有opcontrol是文本文件,不能执行.
错误信息为:
./opcontrol: line 1652: printf: not found
./opcontrol: line 1652: printf: not found
./opcontrol: line 1652: printf: not found
./opcontrol: line 1652: printf: not found
mount: mounting nodev on /dev/oprofile failed: Device or resource busy
cpu_type 'unset' is not valid
you should upgrade oprofile or force the use of timer mode
./opcontrol: line 1678: printf: not found
./opcontrol: line 1678: printf: not found
./opcontrol: line 1678: printf: not found
Unknown option "". See opcontrol --help

我搞了几天了没搞定,请大家帮忙看看!有什么方法可解决?谢谢了!

附件为opcontrol文件!
文章评论

共有 3 条评论

  1. china_clear 于 2008-07-28 09:56:00发表:

    没人回答吗?

  2. china_clear 于 2008-07-24 14:02:03发表:

    问一下,不用opcontrol能对程序进行性能分析吗?
    怎么执行命令?

  3. china_clear 于 2008-07-24 11:11:20发表:

    有人回答吗?
    大家是不是还在睡觉啊?