X-Git-Url: https://git.lttng.org/?p=lttng-tools.git;a=blobdiff_plain;f=doc%2Fman%2Flttng-destroy.1.txt;h=4b3f4f00e213989aa74d51f4b15f14a1463d575d;hp=74921bb25c05889028dac02fed2c1a5e7af6b896;hb=db0f7697361017ef0d00b2faf322b131b138fca5;hpb=ce19b9ed9bd9591bd0c4d1998780082a490991fd diff --git a/doc/man/lttng-destroy.1.txt b/doc/man/lttng-destroy.1.txt index 74921bb25..4b3f4f00e 100644 --- a/doc/man/lttng-destroy.1.txt +++ b/doc/man/lttng-destroy.1.txt @@ -10,7 +10,7 @@ lttng-destroy - Destroy an LTTng tracing session SYNOPSIS -------- [verse] -*lttng* ['linkgenoptions:(GENERAL OPTIONS)'] *destroy* [option:--all | 'SESSION'] +*lttng* ['linkgenoptions:(GENERAL OPTIONS)'] *destroy* [option:--no-wait] [option:--all | 'SESSION'] DESCRIPTION @@ -18,17 +18,23 @@ DESCRIPTION The `lttng destroy` command destroys one or more tracing sessions. If no options are specified, the current tracing session is destroyed -(see linklttng:lttng-create(1) for more information about the current +(see man:lttng-create(1) for more information about the current tracing session). If 'SESSION' is specified, the existing tracing session named 'SESSION' is destroyed. `lttng list` outputs all the existing tracing sessions -(see linklttng:lttng-list(1)). +(see man:lttng-list(1)). If the option:--all option is used, *all* the tracing sessions, as listed in the output of `lttng list`, are destroyed. -Destroying a tracing session stops any tracing running within the latter. +Destroying a tracing session stops any tracing running within the +latter. By default, the implicit man:lttng-stop(1) command invoked by +the `lttng destroy` command ensures that the tracing session's trace +data is valid before returning. With the option:--no-wait option, the +man:lttng-stop(1) command finishes immediately, hence a local trace +might not be valid when the command is done. In this case, there is no +way to know when the trace becomes valid. Destroying a tracing session does not destroy the recorded trace data, if any; it frees resources acquired by the session daemon and tracer @@ -41,6 +47,10 @@ include::common-cmd-options-head.txt[] option:-a, option:--all:: Destroy all tracing sessions. +option:-n, option:--no-wait:: + Do not ensure that the chosen tracing session's trace data is valid + before returning to the prompt. + include::common-cmd-help-options.txt[] @@ -50,6 +60,6 @@ include::common-cmd-footer.txt[] SEE ALSO -------- -linklttng:lttng-create(1), -linklttng:lttng-set-session(1), -linklttng:lttng(1) +man:lttng-create(1), +man:lttng-set-session(1), +man:lttng(1)