OProfile plug in problems (doesn't work) [message #1453909] |
Mon, 27 October 2014 17:42 |
Mila Gorobets Messages: 3 Registered: October 2014 |
Junior Member |
|
|
I've been struggling with this problem for a few days now.
I have Nvidia Nsight which is built on Eclipse 3.8. So I went to "Install New Software..." and found the OProfile version for Juno, installed it.
Made a new configuration, but when I run it, I get an error:
FATAL: An error occurred running opcontrol.
Reason:
Exit code of opcontrol indicates failure.
Look for additional information in the Error Log.
I don't know where the error log is for Opcontrol. What is the file even called? I searched the computer (locate opcontrol) and it found 2 locations, but one was the executable, and the other one the archive (I guess, it's a .gz). Can't find any error log for oprofile either.
I also figured, oh, maybe the Luna one works, but it actually gives the same error when I use opcontrol. If I specify to use operf, it can't find an included library (added via LD_LIBRARY_PATH to the Environment tab) and won't run. Though this creates an operf log in my directory.
Any chance of this working? I really want it to, but I don't want to spend a week trying to fix it.
|
|
|
|
Re: OProfile plug in problems (doesn't work) [message #1453942 is a reply to message #1453924] |
Mon, 27 October 2014 18:45 |
Mila Gorobets Messages: 3 Registered: October 2014 |
Junior Member |
|
|
I installed Luna to test this on as well, and it can't find the libraries specific in Environment either when I use Operf. In the log for Luna it says:
!ENTRY org.eclipse.linuxtools.oprofile.core 4 0 2014-10-27 12:33:07.200
!MESSAGE opreport process error output: warning: /no-vmlinux could not be found.
When I use try to use Opcontrol in Luna it tells me that it could not fild an Opcontrol provider. I want to run the install.sh, but I can't find it. If I go to add new software to Luna, it says Oprofile is already installed and wont do anything.
Now back to the Juno (3.eight). I found the log file. When I run with the Operf option, I get this:
!ENTRY org.eclipse.linuxtools.oprofile.core 4 0 2014-10-27 12:40:17.486
!MESSAGE opreport process error output: warning: /no-vmlinux could not be found.
So same error as on Luna.
With Opcontrol, I got the same error message originally as with Luna, but I was able to run the install.sh script, after which the log file contained:
!ENTRY org.eclipse.linuxtools.oprofile.core 4 0 2014-10-27 12:43:06.060
!MESSAGE opcontrol process error output: Failed to open profile device: Device or resource busy
Couldn't start oprofiled.
Check the log file "/var/lib/oprofile/samples/oprofiled.log" and kernel syslog
So I'm guessing Luna has the same issue. I get the same error message (device or resource busy) when I try opcontrol from command line.
BTW, I am running Ubuntu 14.04LTS, though I'm not sure that matters.
Does that clear things up more? I'm gonna go google the error and report back if I fix it.
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.03168 seconds