[lttng-dev] LTTng buffer mode

Philippe Proulx eeppeliteloop at gmail.com
Tue Feb 16 20:02:56 EST 2016


No you cannot.

There's no hidden global buffering scheme option for user space tracing.

>From the LTTng documentation:

> In the user space tracing domain, two buffering schemes are available
> when creating a channel:
>
> Per-PID buffering: keep one ring buffer per process.
> Per-UID buffering: keep one ring buffer for all processes of a single user.

and:

> The Linux kernel tracing domain only has one available buffering scheme
> which is to use a single ring buffer for the whole system.

Phil

On Tue, Feb 16, 2016 at 7:55 PM, Jeffrey Chen <cpthk at hotmail.com> wrote:
> Hi LTTng community:
>
>
> I have a question about LTTng buffer mode. According to documentation, LTTng
> supports 2 buffer modes, per-pid, and per-uid. Is there any mode to have a
> global buffer that does not have separate buffers? The reason I asked is
> because, LTTng writes different buffer traces to different directory/file.
> It is much more difficult for us to post-process separate directories. We
> would like to have all traces write into one single buffer and
> directory/file, so it is easier to do post-processing. Thanks.
>
>
>
> _______________________________________________
> lttng-dev mailing list
> lttng-dev at lists.lttng.org
> http://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev
>



More information about the lttng-dev mailing list