<br><br>---------- Forwarded message ----------<br>From: <b>Jérémie Galarneau</b> <<a href="mailto:jeremie.galarneau@efficios.com">jeremie.galarneau@efficios.com</a>><br>Date: Monday, March 25, 2019<br>Subject: LTTng user space data not flushed out<br>To: tujalasaikiran <<a href="mailto:tujalasaikiran@gmail.com">tujalasaikiran@gmail.com</a>><br><br><br>Hi Tujala,<br>
<br>
Please use the public development mailing list<br>
(<a href="mailto:lttng-dev@lists.lttng.org">lttng-dev@lists.lttng.org</a>) to get community support.<br>
Private support is available through EfficiOS' support agreements.<br>
<br>
Thanks,<br>
Jérémie<br>
<br>
On Sat, 23 Mar 2019 at 13:13, tujalasaikiran <<a href="mailto:tujalasaikiran@gmail.com">tujalasaikiran@gmail.com</a>> wrote:<br>
><br>
> Hi,<br>
> I'm using LTTng live mode, the "live" parameter in the below command is the time at which data is flushed. We get zero content size packets if we don't have any data generated from the tracer. This is true for kernel space domain, that is getting content size zero packets. Whereas in the user space domain, I'm not getting zero content size packets this makes the "live viewer"  (babeltrace) to not to show any trace data until the session stop.<br>
> My application generates the kernel domain events frequently whereas userspace domain events generate very rarely. Default flush time in "lttng create" command is 1 second, this is honored in kernel domain whereas in userspace domain not.<br>
> Below commands, I'm using for LTTng configuration and using babel trace viewer to view live trace.<br>
><br>
>                   lttng create mysession --live<br>
>                   lttng enable-event -k sched_swich<br>
>                   lttng enable-event -u mytrace_point:tp_one<br>
>                   lttng start<br>
>                   babeltrace --input-format=lttng-live net://localhost/host/mypc-<wbr>name/mysession<br>
>                  <---- not getting any data from babeltrace until I stop the session------><br>
>                   lttng stop<br>
>                   <--- I'm getting data from babeltrace once I stop the lttng session  ---><br>
>                   lttng destroy<br>
> Thanks,<br>
> TSK.<br>
><br>
><br>
<br>
<br>
-- <br>
Jérémie Galarneau<br>
EfficiOS Inc.<br>
<a href="http://www.efficios.com" target="_blank">http://www.efficios.com</a><br>
<br>