---------- Forwarded message ----------
From: *Jérémie Galarneau* <jeremie.galarn...@efficios.com>
Date: Monday, March 25, 2019
Subject: LTTng user space data not flushed out
To: tujalasaikiran <tujalasaiki...@gmail.com>


Hi Tujala,

Please use the public development mailing list
(lttng-dev@lists.lttng.org) to get community support.
Private support is available through EfficiOS' support agreements.

Thanks,
Jérémie

On Sat, 23 Mar 2019 at 13:13, tujalasaikiran <tujalasaiki...@gmail.com>
wrote:
>
> Hi,
> 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.
> 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.
> Below commands, I'm using for LTTng configuration and using babel trace
viewer to view live trace.
>
>                   lttng create mysession --live
>                   lttng enable-event -k sched_swich
>                   lttng enable-event -u mytrace_point:tp_one
>                   lttng start
>                   babeltrace --input-format=lttng-live
net://localhost/host/mypc-name/mysession
>                  <---- not getting any data from babeltrace until I stop
the session------>
>                   lttng stop
>                   <--- I'm getting data from babeltrace once I stop the
lttng session  --->
>                   lttng destroy
> Thanks,
> TSK.
>
>


-- 
Jérémie Galarneau
EfficiOS Inc.
http://www.efficios.com
_______________________________________________
lttng-dev mailing list
lttng-dev@lists.lttng.org
https://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev

Reply via email to