<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<meta name="Generator" content="Microsoft Exchange Server">
<!-- converted from rtf -->
<style><!-- .EmailQuote { margin-left: 1pt; padding-left: 4pt; border-left: #800000 2px solid; } --></style>
</head>
<body>
<font face="Arial, sans-serif" size="2">
<div>Hello</div>
<div> </div>
<div>For the support of LTTng Tools 2.1 in Eclipse, I'm currently trying to understand how to use the configuration for network streaming with the updated "lttng create"-command and new "enable-consumer"-command.</div>
<div> </div>
<div style="padding-left: 19pt; text-indent: -19pt; ">a) lttng enable-consumer</div>
<div style="padding-left: 19pt; text-indent: -19pt; ">I find this command confusing because this command does not always enables the consumer, even if the command name implies so. The enabling actually depends on how the command is executed. </div>
<div style="padding-left: 19pt; text-indent: -19pt; ">Examples:</div>
<ul style="margin-top: 0pt; margin-bottom: 0pt; margin-left: 38pt; ">
<li>"lttng enable-consumer -k -U net://<remote_addr>" or "lttng enable-consumer -k -C tcp://<remote_addr> -D tcp://<remote_addr>" don't enable the consumer. You need to either add option --enable or execute subsequently "lttng enable-consumer --enable"</li><li>lttng enable-consumer -k net://<remote_addr> does enable the consumer. I took me a while to figure out the difference to the example above: The option -U is omitted.</li></ul>
<div> </div>
<div style="padding-left: 19pt; text-indent: -19pt; ">What the command actually provides, is 2 features: A way to configure streaming (e.g. remote_addr) and a way to enable the consumer. Would it be better to name it to "lttng configure-consumer"? Also, remove
the support of the possibility to not specify -U, -C or -D. The following variants of this command should be enough:</div>
<div style="padding-left: 19pt; text-indent: -19pt; ">lttng configure-consumer -k -U <remote_addr> [--enable]</div>
<div style="padding-left: 19pt; text-indent: -19pt; ">lttng configure-consumer -k -C <remote_addr> -D <remote_addr> [--enable]</div>
<div style="padding-left: 19pt; text-indent: -19pt; ">lttng configure-consumer -k --enable</div>
<div style="padding-left: 19pt; text-indent: -19pt; ">lttng configure-consumer -u -U <remote_addr> [--enable]</div>
<div style="padding-left: 19pt; text-indent: -19pt; ">lttng configure-consumer -u -C <remote_addr> -D <remote_addr> [--enable]</div>
<div style="padding-left: 19pt; text-indent: -19pt; ">lttng configure-consumer -u --enable</div>
<div style="padding-left: 19pt; text-indent: -19pt; "> </div>
<div style="padding-left: 19pt; text-indent: -19pt; ">Please let me know what you think.</div>
<div style="padding-left: 19pt; text-indent: -19pt; "> </div>
<div style="padding-left: 19pt; text-indent: -19pt; ">b) lttng create [-U <remote_addr>] | [-C <remote_addr> -D <remote_addr>] [--no-consumer] [--disable-consumer]</div>
<ul style="margin-top: 0pt; margin-bottom: 0pt; margin-left: 38pt; ">
<li>Are options --no-consumer or --disable-consumer only applicable for streaming?</li><li>I'm not sure what is the purpose of the options --no-consumer or --disable-consumer. Could you please explain the use cases for using --no-consumer or --disable-consumer? </li></ul>
<div> </div>
<div>Thanks</div>
<div>Bernd</div>
<div> </div>
<div><font face="Arial, sans-serif">This Communication is Confidential. We only send and receive email on the basis of the terms set out at <a href="www.ericsson.com/email_disclaimer"><font color="#0000FF"><u>www.ericsson.com/email_disclaimer</u></font></a></font></div>
<div><font face="Arial, sans-serif"> </font></div>
<div> </div>
</font>
</body>
</html>