[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Newsgroup Home]
[news.eclipse.technology.linuxtools] Re: OProfile on openSUSE 11.1

Kent Sebastian wrote:

Axel Mueller wrote:
/opxml: /lib/libc.so.6: version `GLIBC_2.8' not found (required by /opxml)
Ah, I have glibc 2.6.1 installed (the latest stable version on Gentoo). I guess that's the origin of my problems.


 Axel


And this is the caveat of the oprofile plugin. It needs the native binary to communicate with OProfile due to EPL/GPL incompatibilities. I foresee these native bits being a problem for cross distribution compatibility.

The source for opxml is in the org.eclipse.linuxtools.oprofile.core_0.1.0.200901141551/natives/linux/opxml directory. A `make` and `mv` to the aforementioned opxml directory should fix it. Let me know how it goes :)
OK, I recompiled opxml and put it in the aforementioned directory. Calling opxml from the command line now works. However, I still have problems with the Eclipse plugin.
- no events are shown in the launch configuration
- the oprofile view is now filled with some data but I can only see the top of the tree (100% in myapp); I cannot dive in deeper (opreport shows much more)
- there are still errors in the Eclipse error log


 Axel