Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[linuxtools-dev] Question about issue with loading an LTTng trace

Hi guys,

 

I have a question about trace reading libraries and compatible versions.  I have Helios SR2 linuxtools installed, and followed the instructions on the wiki to build the latest snapshots of both the 2.5 and 2.6 trace libraries and installed them.   With the Eclipse viewer I can import and analyze the trace-15316events_nolost_newformat.tar.gz example data that I downloaded from a link in the help with no issue, it looks great.

 

I then followed instructions I found here https://launchpad.net/~lttng/+archive/ppa to install pre-built kernel packages for lttng for an Ubuntu 10.10 32 bit Linux.  I can successfully  dump/analyze traces that I collect using lttv and lttv-gui.   Awesome that this package is available btw, very cool.

 

If however I try to open these traces with the Eclipse viewer I get no visible error that I can discern but see the exception below in the console which spawned eclipse.  Does anyone have any idea what might be wrong?  Incorrect version?  Again, I can successfully load the demo data mentioned about with the viewer, but it appears that this data is 2.5 format from comments that I read.  I am not sure if I can successfully read 2.6 data or not…

 

 If you are interested, you can get the trace at http://www.ontherock.com/trace7.tar.gz

 

Thanks for any guidance,

Aaron

 

--------------------

 

joe@ubuntu:~/tools/eclipse-linuxtools-helios-SR2-incubation-linux-gtk/eclipse$ org.eclipse.linuxtools.lttng.trace.LTTngTraceException:

ERROR : Unrecognized/unsupported trace version.

Library reported a trace version 0.0.

Make sure you installed the Lttv library that support this version (look for liblttvtraceread-0.0.so).

 

                at org.eclipse.linuxtools.lttng.trace.LTTngTrace.<init>(LTTngTrace.java:152)

                at org.eclipse.linuxtools.lttng.trace.LTTngTrace.<init>(LTTngTrace.java:125)

                at org.eclipse.linuxtools.lttng.ui.views.project.ProjectView.selectTrace(ProjectView.java:182)

                at org.eclipse.linuxtools.lttng.ui.views.project.ProjectView.access$2(ProjectView.java:173)

                at org.eclipse.linuxtools.lttng.ui.views.project.ProjectView$3.mouseDoubleClick(ProjectView.java:166)

                at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:189)

                at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)

                at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1258)

                at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3540)

                at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3161)

                at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2640)

                at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2604)

                at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2438)

                at org.eclipse.ui.internal.Workbench$7.run(Workbench.java:671)

                at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)

                at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:664)

                at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)

                at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:115)

                at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)

                at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)

                at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)

                at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:369)

                at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)

                at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

                at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)

                at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

                at java.lang.reflect.Method.invoke(Method.java:616)

                at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:620)

                at org.eclipse.equinox.launcher.Main.basicRun(Main.java:575)

                at org.eclipse.equinox.launcher.Main.run(Main.java:1408)

--

Aaron Spear   aspear@xxxxxxxxxx

Ecosystems Infrastructure Architect

 VMware

office: 303-679-8457   mobile: 303-946-6516

 


Back to the top