<div dir="ltr">Thanks for the reply.<div><br></div><div>I think adding channels on the fly must be supported.</div><div>From debugging point of view, it will be good if we can add channels on the fly with each channel having different set of events.</div><div>Even "stop tracing" and adding channel doesnt help now.</div><div><br></div><div>Thanks,</div><div>Anand Neeli</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Sat, Feb 21, 2015 at 12:35 AM, Philippe Proulx <span dir="ltr"><<a href="mailto:eeppeliteloop@gmail.com" target="_blank">eeppeliteloop@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">On Fri, Feb 20, 2015 at 2:00 PM, Anand Neeli <<a href="mailto:anand.neeli@gmail.com">anand.neeli@gmail.com</a>> wrote:<br>
> Hi All,<br>
> Is adding a new channel to an existing(running) session supported?<br>
<br>
</span>No.<br>
<span class="">><br>
> i get following error when doing this.<br>
> Error: Channel myc5: Tracing already started<br>
><br>
> Is there any way to add channels on the fly?<br>
<br>
</span>No. LTTng's documentation [1] states:<br>
<br>
Note: Because of a current limitation, all channels must be<br>
created prior to beginning tracing in a given tracing session,<br>
i.e. before the first time you do lttng start.<br>
<br>
Since a channel is automatically created by enable-event<br>
only for the specified domain, you cannot, for example, enable<br>
a kernel domain event, start tracing and then enable a user<br>
space domain event because no user space channel exists<br>
yet and it's too late to create one.<br>
<br>
For this reason, make sure to configure your channels<br>
properly before starting the tracers for the first time!<br>
<br>
Phil<br>
<br>
[1] <a href="http://lttng.org/docs/#doc-enabling-disabling-channels" target="_blank">http://lttng.org/docs/#doc-enabling-disabling-channels</a><br>
<span class=""><br>
> I'm using 2.4.1 version<br>
><br>
> Thanks,<br>
> Anand Neeli<br>
><br>
</span>> _______________________________________________<br>
> lttng-dev mailing list<br>
> <a href="mailto:lttng-dev@lists.lttng.org">lttng-dev@lists.lttng.org</a><br>
> <a href="http://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev" target="_blank">http://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev</a><br>
><br>
</blockquote></div><br></div>