[lttng-dev] lttng: How to enable larger buffers?

Mathieu Desnoyers mathieu.desnoyers at efficios.com
Mon Dec 17 13:26:13 EST 2012


You'll want to look at:

lttng enable-channel --help

(specifically --subbuf-size and --num-subbuf options).

and you'll need to specify a channel name for the events you enable (see
lttng enable-event --help).

Thanks,

Mathieu

* Sam Bradshaw (sbradshaw) (sbradshaw at micron.com) wrote:
> Hello,
> 
> I'm trying to use lttng tools to identify some block stack latencies.  I'm tracing
> syscall, softirq_*, and block_* kernel entry points using the latest 2.0 lttng on
> RHEL 6.3 with a 3.6.6 kernel.
> 
> When I 'lttng view' the trace, I get all sorts of messages like:
> 
> "[warning] Tracer discarded XXXX events between <timestamp1> and <timestamp2>.  You
> should consider recording a new trace with larger buffers or with fewer events 
> enabled."
> 
> How/where do I modify the code to enable larger buffers?  Its not obvious from any
> of the documentation I could find or a superficial code inspection.
> 
> Thanks,
> -Sam
> 
> _______________________________________________
> lttng-dev mailing list
> lttng-dev at lists.lttng.org
> http://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev

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



More information about the lttng-dev mailing list