<html><body><div style="color:#000; background-color:#fff; font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, Sans-Serif;font-size:12px"><div dir="ltr" id="yui_3_16_0_1_1419855527555_3355"><span>Hi Jeremie,</span></div><div id="yui_3_16_0_1_1419855527555_3358" dir="ltr"><br><span></span><span id="yui_3_16_0_1_1419855527555_3357">Thank you, events_discarded may be of some help for us.  Our main requirement is to find the number of discarded events per session<br style="" class="">Ex: We use lttng_create_session() to create an session and then enabled certain events using lttng_enable_event(). The events      come  from different processes. <br style="" class="">Now, as a whole, can we get the number of discarded events for the whole session?? <br style="" class=""></span></div><div id="yui_3_16_0_1_1419855527555_3377" dir="ltr"><span id="yui_3_16_0_1_1419855527555_3357"><br></span></div><div id="yui_3_16_0_1_1419855527555_3380" dir="ltr"><span id="yui_3_16_0_1_1419855527555_3357">Thanks &Regards,</span></div><div id="yui_3_16_0_1_1419855527555_3378" dir="ltr">K.V.Ranganadh.</div><div class="qtdSeparateBR"><br><br></div><div style="display: block;" class="yahoo_quoted"> <div style="font-family: HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, Sans-Serif; font-size: 12px;"> <div style="font-family: HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, Sans-Serif; font-size: 12px;"> <div dir="ltr"> <font size="2" face="Arial"> On Tuesday, 9 December 2014 10:10 PM, Jérémie Galarneau <jeremie.galarneau@efficios.com> wrote:<br> </font> </div>  <br><br> <div class="y_msg_container">On Tue, Dec 9, 2014 at 12:20 AM, Ranganadh Kanitmahanti<br clear="none"><<a shape="rect" ymailto="mailto:ranganadh1991@yahoo.com" href="mailto:ranganadh1991@yahoo.com">ranganadh1991@yahoo.com</a>> wrote:<br clear="none">> Hi,<br clear="none">><br clear="none">> I am using Lttng in an application. I have enabled heavy traces and I have<br clear="none">> found that there is a loss in traces.  Is there any way of knowing if there<br clear="none">> is any trace loss or any information regarding about it . Are there any API<br clear="none">> calls to know about them.<br clear="none"><br clear="none">There is no way to know from the application while the trace is being<br clear="none">captured. I wonder what form such a mechanism would take to,<br clear="none">basically, query the tracer/ring buffer for the events_discarded<br clear="none">counter... This would arguably be of little use in per-uid mode (since<br clear="none">a user's apps share the same buffer), but I could see this being<br clear="none">useful in per-pid mode.<br clear="none">Any ideas?<br clear="none"><br clear="none">Jérémie<div class="yqt1967503046" id="yqtfd90429"><br clear="none"><br clear="none">><br clear="none">> Thanks & Regards.,<br clear="none">> K.V.Ranganadh.</div><br clear="none">><br clear="none">> _______________________________________________<br clear="none">> lttng-dev mailing list<br clear="none">> <a shape="rect" ymailto="mailto:lttng-dev@lists.lttng.org" href="mailto:lttng-dev@lists.lttng.org">lttng-dev@lists.lttng.org</a><br clear="none">> <a shape="rect" 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 clear="none">><br clear="none"><br clear="none"><br clear="none"><br clear="none">-- <br clear="none">Jérémie Galarneau<br clear="none">EfficiOS Inc.<br clear="none"><a shape="rect" href="http://www.efficios.com/" target="_blank">http://www.efficios.com</a><br><br></div>  </div> </div>  </div> </div></body></html>