[lttng-dev] Babeltrace Buffer Warning

Mathieu Desnoyers mathieu.desnoyers at efficios.com
Fri Apr 13 09:01:56 EDT 2012


Hi,

* Salman Rafiq (salman.rafiq at esk.fraunhofer.de) wrote:
> Dear Julien,
> 
> 
> 
> My kernel traced files are very large in size, thus when I try to convert CTF->text using "babeltrace" and redirect output to a file using '>' operator, I get the following warnings:
> 
> [warning] Tracer discarded 280625 events between [1334315833.578351009] and [1334315833.578351380]. You should consider increasing the buffer size.
>
[...]
> I would like to know, which buffer size shall I change to avoid events discard?

Please see:

lttng enable-channel --help

the "--subbuf-size" and "--num-subbuf" options are what you are looking
for.

Issue the enable-channel command before any enable-event for your
session and all the events will be recorded into that channel.

Best regards,

Mathieu

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



More information about the lttng-dev mailing list