[lttng-dev] Disable LTTng tracing to disk

Jérémie Galarneau jeremie.galarneau at efficios.com
Thu Mar 26 21:41:40 EDT 2015


On Thu, Mar 26, 2015 at 5:34 PM, shirish gajera <gajerashirish at gmail.com> wrote:
> Hello,
>
> Is there any option where I can disable LTTng tracing to disk? But, I want
> in memory tracing.
>
> What I want is not to write to disk and reading the tracing from the in
> memory. So, my next question will be how to read in memory tracing ?
>
> I tried following but I am not sure whether this will disable tracing to
> disk or not.
>
> lttng create --no-output TESTING
> lttng enable-channel --userspace --tracefile-size 1M --tracefile-count 1
> --overwrite channel1
> lttng enable-event -u -a -c channel1
> lttng start
>

The snapshot feature might be what you're looking for.
https://lttng.org/docs/#doc-taking-a-snapshot

Jérémie

> Thanks.
>
> _______________________________________________
> lttng-dev mailing list
> lttng-dev at lists.lttng.org
> http://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev
>



-- 
Jérémie Galarneau
EfficiOS Inc.
http://www.efficios.com



More information about the lttng-dev mailing list