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?
Log in to post a comment.