[lttng-dev] Running trace-rotate and session-rotate together

Subrata Paul subrata.turs at gmail.com
Tue Dec 21 01:47:12 EST 2021


Hi,

1. In the lttng-enable-rotation manpage it is mentioned that we should not
use trace rotate when automatic session rotate is enabled. Can you please
tell me why?
```
Important
           You may only use the enable-rotation command when:
           *   The selected recording session was created in normal mode or
in network streaming mode
               (see lttng-create(1)).
           *   No channel was created with a configured trace file count or
size limit (see the
               --tracefile-size and --tracefile-count options of the
lttng-enable-channel(1) command).
```

2. When automatic session rotate is running, is there any race condition in
writing the current ring buffers and archiving the current trace chunk?


--------------------------------------------------------------
Regards,
Subrata Paul
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.lttng.org/pipermail/lttng-dev/attachments/20211221/830beb84/attachment.htm>


More information about the lttng-dev mailing list