Hi ,
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??
Thanks & Regards,K.V.Ranganadh.
On Monday, 29 December 2014 5:49 PM, Ranganadh Kanitmahanti
<[email protected]> wrote:
Hi Jeremie,
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??
Thanks &Regards,K.V.Ranganadh.
On Tuesday, 9 December 2014 10:10 PM, Jérémie Galarneau
<[email protected]> wrote:
On Tue, Dec 9, 2014 at 12:20 AM, Ranganadh Kanitmahanti
<[email protected]> 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
> [email protected]
> http://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev
>
--
Jérémie Galarneau
EfficiOS Inc.
http://www.efficios.com
_______________________________________________
lttng-dev mailing list
[email protected]
http://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev