From d22ba1ec0497c9dbea3d7263d553be3547dfbe9f Mon Sep 17 00:00:00 2001 From: Philippe Proulx Date: Tue, 7 Dec 2021 15:47:21 -0500 Subject: [PATCH] lttng-create(1): specify that `--shm-path` only applies to UST channels MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit This is a current limitation, but could change in the future. Fixes: https://bugs.lttng.org/issues/1158 Signed-off-by: Philippe Proulx Signed-off-by: Jérémie Galarneau Change-Id: Ie2b8114f35d7fd095790aae6add4653c5da169bf --- doc/man/lttng-create.1.txt | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/doc/man/lttng-create.1.txt b/doc/man/lttng-create.1.txt index ea19a159d..42fdf651e 100644 --- a/doc/man/lttng-create.1.txt +++ b/doc/man/lttng-create.1.txt @@ -1,6 +1,6 @@ lttng-create(1) =============== -:revdate: 14 June 2021 +:revdate: 7 December 2021 NAME @@ -53,7 +53,9 @@ Specify the path of the directory containing the shared memory files holding the channel ring buffers with the option:--shm-path option. Specifying a location on an NVRAM file system makes it possible to recover the latest recorded trace data when the system reboots after a -crash with the man:lttng-crash(1) utility. +crash with the man:lttng-crash(1) utility. Note that, as of +LTTng{nbsp}{lttng_version}, this feature is only available for user +space channels. By default, the `create` command automatically spawns: @@ -335,6 +337,10 @@ option:-o 'DIR', option:--output='DIR':: option:--shm-path='DIR':: Set the path of the directory containing the shared memory files holding the channel ring buffers to 'DIR' on the local file sytem. ++ +NOTE: As of LTTng{nbsp}{lttng_version}, LTTng only considers this option +for user space (including Java and Python) channels, but this may change +in the future. URL -- 2.34.1