<html><body><div style="color:#000; background-color:#fff; font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, Sans-Serif;font-size:12px"><div id="yiv7273670832"><div id="yui_3_16_0_1_1420603285557_20082"><div id="yui_3_16_0_1_1420603285557_20081" style="color:#000;background-color:#fff;font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, Sans-Serif;font-size:12px;"><div id="yiv7273670832"><div id="yui_3_16_0_1_1420603285557_20080"><div id="yui_3_16_0_1_1420603285557_20079" style="color:#000;background-color:#fff;font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, Sans-Serif;font-size:12px;"><div dir="ltr" id="yiv7273670832yui_3_16_0_1_1420603285557_8290"><span>Hi ,</span></div><div dir="ltr" id="yiv7273670832yui_3_16_0_1_1420603285557_8289"><br clear="none"><span></span></div><div dir="ltr"><span></span></div> <div id="yui_3_16_0_1_1420603285557_20094" class="yiv7273670832qtdSeparateBR">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 class="" style="" clear="none"><div style="" class="" dir="ltr" id="yiv5398738188yui_3_16_0_1_1419855527555_3358"><span style="" class="" id="yiv5398738188yui_3_16_0_1_1419855527555_3357">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 class="" style="" clear="none">Now, as a whole, can we get the number of discarded events for the whole session?? <br class="" style="" clear="none"></span></div><div style="" class="" dir="ltr" id="yiv5398738188yui_3_16_0_1_1419855527555_3377"><div id="yui_3_16_0_1_1420603285557_20140"><br><span style="" class="" id="yiv5398738188yui_3_16_0_1_1419855527555_3357"></span></div><div dir="ltr" id="yui_3_16_0_1_1420603285557_20141"><span style="" class="" id="yiv5398738188yui_3_16_0_1_1419855527555_3357">Thanks & Regards,</span></div><div id="yui_3_16_0_1_1420603285557_20142" dir="ltr"><span style="" class="" id="yiv5398738188yui_3_16_0_1_1419855527555_3357">K.V.Ranganadh.<br style="" class="" clear="none"></span></div></div><div id="yui_3_16_0_1_1420603285557_20139" style="" class="" dir="ltr"><br style="" class=""></div></div><div class="yiv7273670832yqt6906803983" id="yiv7273670832yqt51822"><div class="yiv7273670832yqt0491201076" id="yiv7273670832yqt85231"><div class="yiv7273670832yahoo_quoted" style="display: block;"> <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 Monday, 29 December 2014 5:49 PM, Ranganadh Kanitmahanti <ranganadh1991@yahoo.com> wrote:<br clear="none"> </font> </div> <br clear="none"><br clear="none"> <div class="yiv7273670832y_msg_container"><div id="yiv7273670832"><div><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="yiv7273670832yui_3_16_0_1_1419855527555_3355"><span>Hi Jeremie,</span></div><div dir="ltr" id="yiv7273670832yui_3_16_0_1_1419855527555_3358"><br clear="none"><span></span><span id="yiv7273670832yui_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 class="yiv7273670832" style="" clear="none">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 class="yiv7273670832" style="" clear="none">Now, as a whole, can we get the number of discarded events for the whole session?? <br class="yiv7273670832" style="" clear="none"></span></div><div dir="ltr" id="yiv7273670832yui_3_16_0_1_1419855527555_3377"><span id="yiv7273670832yui_3_16_0_1_1419855527555_3357"><br clear="none"></span></div><div dir="ltr" id="yiv7273670832yui_3_16_0_1_1419855527555_3380"><span id="yiv7273670832yui_3_16_0_1_1419855527555_3357">Thanks &Regards,</span></div><div dir="ltr" id="yiv7273670832yui_3_16_0_1_1419855527555_3378">K.V.Ranganadh.</div><div class="yiv7273670832qtdSeparateBR"><br clear="none"><br clear="none"></div><div class="yiv7273670832yqt5931670193" id="yiv7273670832yqt88478"><div class="yiv7273670832yahoo_quoted" style="display:block;"> <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 clear="none"> </font> </div> <br clear="none"><br clear="none"> <div class="yiv7273670832y_msg_container">On Tue, Dec 9, 2014 at 12:20 AM, Ranganadh Kanitmahanti<br clear="none"><<a rel="nofollow" shape="rect" ymailto="mailto:ranganadh1991@yahoo.com" target="_blank" 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="yiv7273670832yqt1967503046" id="yiv7273670832yqtfd90429"><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 rel="nofollow" shape="rect" ymailto="mailto:lttng-dev@lists.lttng.org" target="_blank" href="mailto:lttng-dev@lists.lttng.org">lttng-dev@lists.lttng.org</a><br clear="none">> <a rel="nofollow" shape="rect" target="_blank" href="http://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev">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 rel="nofollow" shape="rect" target="_blank" href="http://www.efficios.com/">http://www.efficios.com</a><br clear="none"><br clear="none"></div> </div> </div> </div></div> </div></div></div><br clear="none"><br clear="none"></div> </div> </div> </div></div></div> </div></div></div></div></div></div></div></body></html>