[lttng-dev] Babeltrace Buffer Warning

Mathieu Desnoyers mathieu.desnoyers at efficios.com
Mon Apr 16 10:32:31 EDT 2012


* Oestman, Fredrik (Fredrik_Oestman at mentor.com) wrote:
> Mathieu Desnoyers wrote:
> > The warning message is:
> > 
> > "[warning] Tracer discarded 280625 events between
> > [1334315833.578351009] and
> > [1334315833.578351380]. You should consider increasing the buffer
> > size."
> > 
> > which states that the tracer did discard the events (not the
> > converter).
> > But maybe I'm missing your point. What would you recommend to make this
> > message clearer ?
> 
> I actually had no recommendation or suggestion in mind. To me the message is clear. I just got the impression that the OP may have been confused in this respect for some reason.
> 
> But since you ask, what about something along the lines of:
> 
> "[warning] The tracer discarded 280625 events between
> [1334315833.578351009] and
> [1334315833.578351380]. You should consider making a new trace with larger buffers or with fewer event types enabled."

Good idea. Fixed in commit:

commit a0b34fbba498a8a447357adf5920ac2c8a22f026
Author: Mathieu Desnoyers <mathieu.desnoyers at efficios.com>
Date:   Mon Apr 16 10:33:55 2012 -0400

    Clarify warning message for events discarded
    
    Reported-by: Fredrik Oestman <Fredrik_Oestman at mentor.com>
    Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers at efficios.com>

Thanks!

Mathieu


> 
> 
> Cheers,
> 
> Fredrik Östman
> 

-- 
Mathieu Desnoyers
Operating System Efficiency R&D Consultant
EfficiOS Inc.
http://www.efficios.com



More information about the lttng-dev mailing list