|
|
|
|
|
|
|
|
|
|
Re: Can't use oprofile anymore [message #482680 is a reply to message #12330] |
Thu, 27 August 2009 14:13 |
Ingo Assenmacher Messages: 4 Registered: August 2009 |
Junior Member |
|
|
Hi!
I basically have the same problems, nightly build does not solve it.
My configuration is as follows:
* Eclipse Gallileo (build-id: 20090619-0625) (installed by extracting the tar-ball)
* ubuntu 8.10 (intrepid) x86_64 (core_2)
* oprofile 0.9.3-1.1ubuntu2
* linuxtools plugin installed from nightly build (0.3.0.200908190856)
Installing of the linuxtools using the install.sh script worked as described on the webpage.
When I ran opxml and got the error described above in this thread (error in line 6), I checked the code from oprofile in op_events.c (from oprofile 0.9.3, though), in line 336/337 the error "invalid event name" is uttered. According to the source file, the error is given when the name contains a slash ("/"). This was not the case, so I guess that source and binary does not match in my case. However, in line 6, the original event name was:
name:INST_RETIRED.ANY_P
I replaced the "." against a "_" which lead to the same error in a different line (83 in that case of the core_2/events file). Again a "." in the name. I replaced all dots in all event names (only a few) and opxml info produces a lot of xml output.
Btw. the ophelp utility always produced output and no error, maybe they use a different parsing routine there.
I still can not start the oprofile, looking at the log, an exception is thrown (I abbreviate the output, just showing stack top):
java.lang.NoClassDefFoundError: Could not initialize class org.eclipse.linuxtools.oprofile.core.Oprofile
at org.eclipse.linuxtools.oprofile.launch.configuration.Oprofil eCounter.getCounters(OprofileCounter.java:64)
at org.eclipse.linuxtools.oprofile.launch.configuration.Oprofil eEventConfigTab. <init>(OprofileEventConfigTab.java:68)
<snip>
<old>
Any ideas? (I see that this error is already inspected in another thread in this forum)
</old>
<old2>
I uninstalled the plugin, re-installed the plugin from the "updates" link (same version?), ran install.sh again, restarted the workbench and now it seems to work until a dialog appears: "The password you typed is invalid". But I was not prompted for a password. Any ideas?
</old2>
<new>
Sorry for all the fuzz... this time I made sure that I only use *one* of the authentication methods described in the installation guide (consolehelper did not work for me, so I chose the noconsolehelper.sh). Authentication seems to work now, even launching the application, but still no profiling results. Well... maybe a reboot is needed
</new>
Thanks for the good work!
Regards,
Ingo
[Updated on: Thu, 27 August 2009 14:46] Report message to a moderator
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Re: Can't use oprofile anymore [message #566971 is a reply to message #12330] |
Thu, 27 August 2009 14:13 |
Ingo Assenmacher Messages: 4 Registered: August 2009 |
Junior Member |
|
|
Hi!
I basically have the same problems, nightly build does not solve it.
My configuration is as follows:
* Eclipse Gallileo (build-id: 20090619-0625) (installed by extracting the tar-ball)
* ubuntu 8.10 (intrepid) x86_64 (core_2)
* oprofile 0.9.3-1.1ubuntu2
* linuxtools plugin installed from nightly build (0.3.0.200908190856)
Installing of the linuxtools using the install.sh script worked as described on the webpage.
When I ran opxml and got the error described above in this thread (error in line 6), I checked the code from oprofile in op_events.c (from oprofile 0.9.3, though), in line 336/337 the error "invalid event name" is uttered. According to the source file, the error is given when the name contains a slash ("/"). This was not the case, so I guess that source and binary does not match in my case. However, in line 6, the original event name was:
name:INST_RETIRED.ANY_P
I replaced the "." against a "_" which lead to the same error in a different line (83 in that case of the core_2/events file). Again a "." in the name. I replaced all dots in all event names (only a few) and opxml info produces a lot of xml output.
Btw. the ophelp utility always produced output and no error, maybe they use a different parsing routine there.
I still can not start the oprofile, looking at the log, an exception is thrown (I abbreviate the output, just showing stack top):
java.lang.NoClassDefFoundError: Could not initialize class org.eclipse.linuxtools.oprofile.core.Oprofile
at org.eclipse.linuxtools.oprofile.launch.configuration.Oprofil eCounter.getCounters(OprofileCounter.java:64)
at org.eclipse.linuxtools.oprofile.launch.configuration.Oprofil eEventConfigTab. <init>(OprofileEventConfigTab.java:68)
<snip>
Any ideas? (I see that this error is already inspected in another thread in this forum)
Thanks for the good work!
Regards,
Ingo
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.04909 seconds