[lttng-dev] LTTng hourly/weekly/monthly tracing
eeppeliteloop at gmail.com
Thu Dec 10 19:58:47 EST 2015
I believe the closest you can get is trace file rotation. It's a rotation
of trace files using a maximum size/stream file though, it's not time-based
like you want.
See the --tracefile-size and --tracefile-count options of lttng(1)'s create
On Thu, Dec 10, 2015 at 7:55 PM, Jeffrey Chen <cpthk at hotmail.com> wrote:
> I am using LTTng for tracing user-space application. Does LTTng support
> hourly/weekly/monthly rollover tracing? Some of the tracing libraries like
> log4j supports this, it will separate traces into different files for each
> hour/week/month depending on your setup. You could start to read the older
> traces while the user application is still running and writing traces. Does
> LTTng support this kind of feature? If not, what is the closest I could
> get? Ideally, I need to read the trace while the trace session is still
> running. It doesn't have to be real-time trace, could be couple hours old.
> I saw that LTTng has the snapshot mode, but it is still not exactly the
> same as the one I need, Snapshot mode could suffer from event lost, since
> it keeps overwriting old events. Thanks.
> lttng-dev mailing list
> lttng-dev at lists.lttng.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the lttng-dev