[lttng-dev] LTTng 2.1: create session errors
Bernd Hufmann
Bernd.Hufmann at ericsson.com
Thu Dec 20 13:52:15 EST 2012
Hello
I'm currently using lttng-tools 2.1.0-RC9. I see some errors when using
"lttng create " with streaming options:
1) lttng create mysession -C net://192:1.1.1: -D net://192:1.1.1.1
The command output shows:
Session mysession created.
Traces will be written in (null)
Control URL net://192.1.1.1.1 set for session mysession
Data URL net://192.1.1.1.1 set for session mysession
The line "Traces will be written in (null)" should show the correct
location similar when using the -U option. Also, when typing "lttng list
mysession" afterwards the trace path is not displayed correctly.
(mysession (net://192.1.1.1:5342/ [data: 5343]) [inactive]).
2) lttng create mysession -C net://192:1.1.1:5342 -D net://192.1.1.1:5343
This command output shows:
Session mysession created.
Traces will be written in (null)
Error: Control URL uses the net:// protocol and the data URL is
different. Not allowed.
Error: Invalid parameter
The command fails with an error. However, the session seems to be
created, but no consumer is defined. First of all, it should be possible
to define the port with the option -C and -D. Secondly, if an error
occurs the session shouldn't be created.
3) lttng create mysession -C net://192.1.1.1
This command doesn't fail. I expected it to fail since the command help
states that -D <data URL> must be used too. BTW, "lttng create mysession
-D net://192.1.1.1" fails.
4) lttng create mysession -C net://192:1.1.1 -D net://192.1.1.2
This command fails, because the IP address is not the same. Is this
intended?
5) In "lttng create -h" and "enable-consumer -h" show "tcp[4|6]" as
possible protocols, but "tcp4" doesn't work. I have to use "tcp". The
help should be updated for that.
6) Why isn't it possible to use "tcp[6]" together with option -U?
Instead "net[6]" has to be used, which defaults to TCP as network transport.
Could someone please look into this?
Best Regards
Bernd
--
This Communication is Confidential. We only send and receive email on
the basis of the terms set out at www.ericsson.com/email_disclaimer
More information about the lttng-dev
mailing list