From: SourceForge.net <no...@so...> - 2012-05-20 11:43:24
|
Bugs item #3528383, was opened at 2012-05-20 04:43 Message generated for change (Tracker Item Submitted) made by tombkeeper You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=116191&aid=3528383&group_id=16191 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: None Group: None Status: Open Resolution: None Priority: 5 Private: No Submitted By: tombkeeper (tombkeeper) Assigned to: Nobody/Anonymous (nobody) Summary: oprofied failed to open device on mpc8572 linux version 2.6. Initial Comment: 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 ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=116191&aid=3528383&group_id=16191 |