[lttng-dev] Issue with UST tracing - unable to view CTF traces

Jonathan Haws Jonathan.Haws at sdl.usu.edu
Fri Mar 28 12:58:51 EDT 2014


> > I am having a problem with UST tracing on my system.  My setup is as follows:
> >
> > I have my development system running Xubuntu 12.04 LTS with the LTTng ppa enabled, so I am running the 2.4.0 tools.  I have my embedded target running manually compiled 2.4.0 tools (it's distro is Fedora 17 right now).
> >
> > Last week things were working just fine, but I made some changes to my template file and something broke, but I can't figure out what is up.
> >
> 
> What do you mean by template file?

I mean the file used to generate the source using lttng-gen-tp.  That is attached.


> 
> >
> > When I try to import traces into the Eclipse tools, I get the following error:
> >
> > org.eclipse.linuxtools.tmf.core.exceptions.TmfTraceException: MismatchedTokenException(LPAREN!=TERM) at metadata:204
> >
> >
> > When I try to open with babeltrace, I get the following:
> >
> > jhaws at verde:~/trace$ babeltrace sms/SMS-20110922-130857/ust
> > [error] at line 199: token "(": syntax error, unexpected LPAREN, expecting SEMICOLON or COMMA
> >
> > [error] Error creating AST
> > [warning] Unable to open trace metadata for path "sms/SMS-20110922-130857/ust/uid/0/64-bit".
> > [warning] [Context] Cannot open_trace of format ctf at path sms/SMS-20110922-130857/ust/uid/0/64-bit.
> > [warning] [Context] cannot open trace "sms/SMS-20110922-130857/ust/uid/0/64-bit" from sms/SMS-20110922-130857/ust for reading.
> > [error] Cannot open any trace for reading.
> >
> > [error] opening trace "sms/SMS-20110922-130857/ust" for reading.
> >
> > [error] none of the specified trace paths could be opened.
> >
> >
> > What am I doing wrong?  Things were working great before, but now something is up. What are the chances that there is a compatibility issue between the two installations?
> >

> Could you share the trace?

Attached in zip format.  Thanks!
-------------- next part --------------
A non-text attachment was scrubbed...
Name: problem-trace.zip
Type: application/zip
Size: 48393 bytes
Desc: problem-trace.zip
URL: <http://lists.lttng.org/pipermail/lttng-dev/attachments/20140328/f5aa05ae/attachment-0001.zip>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: am_tpp.tp
Type: application/octet-stream
Size: 10818 bytes
Desc: am_tpp.tp
URL: <http://lists.lttng.org/pipermail/lttng-dev/attachments/20140328/f5aa05ae/attachment-0001.obj>


More information about the lttng-dev mailing list