Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

#215 oprofied failed to open device on mpc8572 linux version 2.6.

closed-rejected
nobody
None
5
2012-05-21
2012-05-20
tombkeeper
No

Linux version: 2.6.31
CPU: mpc8572, e500 core
oprofile version: 0.9.7

1>oprofile --init is ok

2>oprofile --start failed, error output:
Using 2.6+ OProfile kernel interface.
Failed to open device. Possibly you have passed incorrect
parameters. Check /var/log/messages.Couldn't start oprofiled.
Check the log file "/var/lib/oprofile/samples/oprofiled.log" and kernel syslog

3>check /var/log/message, nothing there. check oprofiled.log, no such file exist.
4>oprofile -l: list all features supported by e500

I tried to use strace to find which open failed and got lots of /dev/oprofile/* opened, not sure which failed. Also walking through oprofile code is not helpful, only see opening /dev/oprofile/buffer code will output such errors.
Anyone knows how to debug this, to figure out if the issue is in kernel or application, if it is some incorrect parameter?
Thanks.
John

Discussion

  • Opening a bug report for situations like this won't help you. You need to ask for help from the community by posting a message to the list and/or using #oprofile IRC on OFTC.

     
    • status: open --> closed-rejected