[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Newsgroup Home]
[news.eclipse.technology.linuxtools] Re: Can't use oprofile anymore

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