On Thu, Mar 26, 2015 at 5:34 PM, shirish gajera <[email protected]> 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 > [email protected] > http://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev > -- Jérémie Galarneau EfficiOS Inc. http://www.efficios.com _______________________________________________ lttng-dev mailing list [email protected] http://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev
