[lttng-dev] Trace loss in Lttng
ranganadh1991 at yahoo.com
Mon Dec 29 07:19:42 EST 2014
Thank you, events_discarded may be of some help for us. Our main requirement is to find the number of discarded events per session
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.
Now, as a whole, can we get the number of discarded events for the whole session??
On Tuesday, 9 December 2014 10:10 PM, Jérémie Galarneau <jeremie.galarneau at efficios.com> wrote:
On Tue, Dec 9, 2014 at 12:20 AM, Ranganadh Kanitmahanti
<ranganadh1991 at yahoo.com> wrote:
> I am using Lttng in an application. I have enabled heavy traces and I have
> found that there is a loss in traces. Is there any way of knowing if there
> is any trace loss or any information regarding about it . Are there any API
> calls to know about them.
There is no way to know from the application while the trace is being
captured. I wonder what form such a mechanism would take to,
basically, query the tracer/ring buffer for the events_discarded
counter... This would arguably be of little use in per-uid mode (since
a user's apps share the same buffer), but I could see this being
useful in per-pid mode.
> Thanks & Regards.,
> lttng-dev mailing list
> lttng-dev at lists.lttng.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the lttng-dev