<div dir="ltr"><div>Hi,</div><div><br></div><div>I have a lttng live session trace consumer application using libbabeltrace2 where I create a graph to consume lttng live session traces and output to another sink. I am running the graph in a loop at some polling interval as long as I get BT_GRAPH_RUN_STATUS_AGAIN status. What I am noticing is that if my polling interval is large enough I tend to lose either all or some of the events. I experimented with various polling intervals and it seems if the polling interval is less than <em>DELAYUS </em>from "lttng-create --live=DELAYUS" option then I am able to get all the events, otherwise I tend to lose events.</div><div><br></div><div>Here are the steps I follow:</div><div>1. start session daemon and relay daemon <br></div><div>2. create a live session (with default delay of 1s), enable events and start<br></div><div>3. Start my application (hello world example from lttng docs)<br></div><div>4. Start the consumer application built using libbabeltrace that connects to the live session</div><div><br></div><div>I noticed that the events are actually persisted in the ~/lttng-traces by the relay daemon, but it does not reach babeltrace consumer application. I have noticed the same behavior with babeltrace2 cli.</div><div><br></div><div>I would like to understand what is the reason for such behavior and if playing with the polling interval in relation to the DELAYUS value is the right thing to do. <br></div><div><br></div><div>Thanks,</div><div>Eqbal<br></div><div><em></em></div></div>