]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
Documentation/rtla: Mention default cgroup state
authorTomas Glozar <tglozar@redhat.com>
Fri, 10 Oct 2025 08:33:36 +0000 (10:33 +0200)
committerJonathan Corbet <corbet@lwn.net>
Wed, 5 Nov 2025 18:19:17 +0000 (11:19 -0700)
The RTLA option -C/--cgroup is used to set a cgroup for workload
threads. This is either a specific cgroup, if passed an argument, or
rtla's cgroup, if no argument is given.

Expand the documentation of the -C option to also include the
information about the cgroup settings when the option is not specified.

Signed-off-by: Tomas Glozar <tglozar@redhat.com>
Acked-by: Steven Rostedt (Google) <rostedt@goodmis.org>
Signed-off-by: Jonathan Corbet <corbet@lwn.net>
Message-ID: <20251010083338.478961-8-tglozar@redhat.com>

Documentation/tools/rtla/common_options.txt

index b842f065c8f68202c3eb9e64f9aa453fa1b29018..26e94d291a70c32c5ce4e50564741839b8587ed9 100644 (file)
@@ -48,6 +48,8 @@
 
         Set a *cgroup* to the tracer's threads. If the **-C** option is passed without arguments, the tracer's thread will inherit **rtla**'s *cgroup*. Otherwise, the threads will be placed on the *cgroup* passed to the option.
 
+        If not set, the behavior differs between workload types. User workloads created by rtla will inherit rtla's cgroup. Kernel workloads are assigned the root cgroup.
+
 **--warm-up** *s*
 
         After starting the workload, let it run for *s* seconds before starting collecting the data, allowing the system to warm-up. Statistical data generated during warm-up is discarded.