From: Subrata Paul via lttng-dev <lttng-dev@lists.lttng.org>
To: lttng-dev@lists.lttng.org
Subject: [lttng-dev] Running trace-rotate and session-rotate together
Date: Tue, 21 Dec 2021 12:17:12 +0530 [thread overview]
Message-ID: <CABAcCUNcS1yaP7-mLijXmecOczr9vQkOukhW4Q-YgKc6Vz-bZw@mail.gmail.com> (raw)
[-- Attachment #1.1: Type: text/plain, Size: 822 bytes --]
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
[-- Attachment #1.2: Type: text/html, Size: 1720 bytes --]
[-- Attachment #2: Type: text/plain, Size: 156 bytes --]
_______________________________________________
lttng-dev mailing list
lttng-dev@lists.lttng.org
https://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev
next reply other threads:[~2022-01-04 15:22 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-12-21 6:47 Subrata Paul via lttng-dev [this message]
2022-01-05 17:05 ` Jérémie Galarneau via lttng-dev
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=CABAcCUNcS1yaP7-mLijXmecOczr9vQkOukhW4Q-YgKc6Vz-bZw@mail.gmail.com \
--to=lttng-dev@lists.lttng.org \
--cc=subrata.turs@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox