From: mathieu.desnoyers@efficios.com (Mathieu Desnoyers)
Subject: [lttng-dev] [error] at line 4295: token "(": syntax error, unexpected LPAREN, expecting SEMICOLON or COMMA
Date: Thu, 6 Oct 2016 19:37:16 +0000 (UTC) [thread overview]
Message-ID: <1697002450.49009.1475782636892.JavaMail.zimbra@efficios.com> (raw)
In-Reply-To: <afd5f63ed45e749ecfee26c42c6a9d6c.squirrel@email.powweb.com>
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 4987 bytes --]
----- On Oct 6, 2016, at 2:14 PM, Staffan Tjernstrom staffan at eternaltraveller.com wrote:
> Having spent about a week moving some 1500 trace statements over to
> lttng, I figured it was time to try a test run. Unfortunately there
> seems to be a problem with the metadata.
>
> Any clues as to what to try next?
>
> stjernstrom at E7CH1SAPPHIRE23:~/sapphire> lttng create reg
> Spawning a session daemon
> Session reg created.
> Traces will be written in
> /home/stjernstrom/lttng-traces/reg-20161006-130344
> stjernstrom at E7CH1SAPPHIRE23:~/sapphire> lttng enable-channel -u reg
> --overwrite --buffers-pid -s reg --subbuf-size 1M
> UST channel reg enabled for session reg
> stjernstrom at E7CH1SAPPHIRE23:~/sapphire> lttng add-context -u -t
> pthread_id
> UST context pthread_id added to all channels
> stjernstrom at E7CH1SAPPHIRE23:~/sapphire> lttng enable-event -u -c reg -a
> All UST events are enabled in channel reg
> stjernstrom at E7CH1SAPPHIRE23:~/sapphire> lttng start
> Tracing started for session reg
> stjernstrom at E7CH1SAPPHIRE23:~/sapphire> ${my_app}
> stjernstrom at E7CH1SAPPHIRE23:~/sapphire> lttng stop reg
> Waiting for data availability
> Tracing stopped for session reg
> stjernstrom at E7CH1SAPPHIRE23:~/sapphire> lttng view reg
> Trace directory: /home/stjernstrom/lttng-traces/reg-20161006-130344
Can you provide the output of:
babeltrace -o ctf-metadata /home/stjernstrom/lttng-traces/reg-20161006-130344
?
If you can share the content of your tracepoint header files, it
would also be useful.
Thanks,
Mathieu
>
> [error] at line 4295: token "(": syntax error, unexpected LPAREN,
> expecting SEMICOLON or COMMA
>
> [error] Error creating AST
> [warning] Unable to open trace metadata for path
> "/home/stjernstrom/lttng-traces/reg-20161006-130344/ust/pid/cferouternode_a-2006-20161006-130611".
> [warning] [Context] Cannot open_trace of format ctf at path
> /home/stjernstrom/lttng-traces/reg-20161006-130344/ust/pid/cferouternode_a-2006-20161006-130611.
> [warning] [Context] cannot open trace
> "/home/stjernstrom/lttng-traces/reg-20161006-130344/ust/pid/cferouternode_a-2006-20161006-130611"
> from /home/stjernstrom/lttng-traces/reg-20161006-130344 for reading.
> [error] at line 4295: token "(": syntax error, unexpected LPAREN,
> expecting SEMICOLON or COMMA
>
> [error] Error creating AST
> [warning] Unable to open trace metadata for path
> "/home/stjernstrom/lttng-traces/reg-20161006-130344/ust/pid/cmerouternode_a-2010-20161006-130611".
> [warning] [Context] Cannot open_trace of format ctf at path
> /home/stjernstrom/lttng-traces/reg-20161006-130344/ust/pid/cmerouternode_a-2010-20161006-130611.
> [warning] [Context] cannot open trace
> "/home/stjernstrom/lttng-traces/reg-20161006-130344/ust/pid/cmerouternode_a-2010-20161006-130611"
> from /home/stjernstrom/lttng-traces/reg-20161006-130344 for reading.
> [error] at line 4295: token "(": syntax error, unexpected LPAREN,
> expecting SEMICOLON or COMMA
>
> [error] Error creating AST
> [warning] Unable to open trace metadata for path
> "/home/stjernstrom/lttng-traces/reg-20161006-130344/ust/pid/controller-2001-20161006-130602".
> [warning] [Context] Cannot open_trace of format ctf at path
> /home/stjernstrom/lttng-traces/reg-20161006-130344/ust/pid/controller-2001-20161006-130602.
> [warning] [Context] cannot open trace
> "/home/stjernstrom/lttng-traces/reg-20161006-130344/ust/pid/controller-2001-20161006-130602"
> from /home/stjernstrom/lttng-traces/reg-20161006-130344 for reading.
> [error] at line 4295: token "(": syntax error, unexpected LPAREN,
> expecting SEMICOLON or COMMA
>
> [error] Error creating AST
> [warning] Unable to open trace metadata for path
> "/home/stjernstrom/lttng-traces/reg-20161006-130344/ust/pid/cmefeedernode_a-2013-20161006-130613".
> [warning] [Context] Cannot open_trace of format ctf at path
> /home/stjernstrom/lttng-traces/reg-20161006-130344/ust/pid/cmefeedernode_a-2013-20161006-130613.
> [warning] [Context] cannot open trace
> "/home/stjernstrom/lttng-traces/reg-20161006-130344/ust/pid/cmefeedernode_a-2013-20161006-130613"
> from /home/stjernstrom/lttng-traces/reg-20161006-130344 for reading.
> [error] Cannot open any trace for reading.
>
> [error] opening trace
> "/home/stjernstrom/lttng-traces/reg-20161006-130344" for reading.
>
> [error] none of the specified trace paths could be opened.
>
> stjernstrom at E7CH1SAPPHIRE23:~/sapphire> lttng destroy
> Session reg destroyed
> stjernstrom at E7CH1SAPPHIRE23:~/sapphire> lttng --version
> lttng (LTTng Trace Control) 2.7.4 - Herbe à Détourne
> stjernstrom at E7CH1SAPPHIRE23:~/sapphire> uname -a
> Linux E7CH1SAPPHIRE23.faction.local 4.1.13-100.fc21.x86_64 #1 SMP Tue
> Nov 10 13:13:20 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux
>
>
> _______________________________________________
> lttng-dev mailing list
> lttng-dev at lists.lttng.org
> https://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev
--
Mathieu Desnoyers
EfficiOS Inc.
http://www.efficios.com
next prev parent reply other threads:[~2016-10-06 19:37 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-10-06 18:14 Staffan Tjernstrom
2016-10-06 19:37 ` Mathieu Desnoyers [this message]
[not found] ` <18e9c2e74a3cf73ebf8e9f6e473de6c4@simark.ca>
2016-10-06 20:14 ` Staffan Tjernstrom
2016-10-06 20:47 ` Mathieu Desnoyers
2016-10-06 20:50 ` Mathieu Desnoyers
2016-10-06 23:02 ` Staffan Tjernstrom
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1697002450.49009.1475782636892.JavaMail.zimbra@efficios.com \
--to=mathieu.desnoyers@efficios.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox