[lttng-dev] Trace loss in Lttng

Jérémie Galarneau jeremie.galarneau at efficios.com
Tue Dec 9 11:40:50 EST 2014


On Tue, Dec 9, 2014 at 12:20 AM, Ranganadh Kanitmahanti
<ranganadh1991 at yahoo.com> wrote:
> Hi,
>
> 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.
Any ideas?

Jérémie

>
> Thanks & Regards.,
> K.V.Ranganadh.
>
> _______________________________________________
> lttng-dev mailing list
> lttng-dev at lists.lttng.org
> http://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev
>



-- 
Jérémie Galarneau
EfficiOS Inc.
http://www.efficios.com



More information about the lttng-dev mailing list