X-Git-Url: https://git.liburcu.org/?a=blobdiff_plain;f=2.11%2Flttng-docs-2.11.txt;h=5752c9790c4dadf94775b0a79692abccf0e41c0c;hb=46adfb4b867899cd3f05171d0dbce70302022bcc;hp=54a72e4da5012a06f7be5991ec101575ac55a55c;hpb=57dea9c400ed153a8c4608a6d1a6d97536aeeef0;p=lttng-docs.git diff --git a/2.11/lttng-docs-2.11.txt b/2.11/lttng-docs-2.11.txt index 54a72e4..5752c97 100644 --- a/2.11/lttng-docs-2.11.txt +++ b/2.11/lttng-docs-2.11.txt @@ -674,22 +674,23 @@ tracepoints (this will generate a lot of data when tracing): . Do some operation on your system for a few seconds. For example, load a website, or list the files of a directory. -. <> and destroy the +. <> the current tracing session: + -- [role="term"] ---- -# lttng stop # lttng destroy ---- -- + -You need to stop tracing to make LTTng flush the remaining trace data -and make the trace readable. -+ The man:lttng-destroy(1) command does not destroy the trace data; it only destroys the state of the tracing session. ++ +The man:lttng-destroy(1) command also runs the man:lttng-stop(1) command +implicitly (see <>). You need to stop tracing to make LTTng flush the remaining +trace data and make the trace readable. . For the sake of this example, make the recorded trace accessible to the non-root users: @@ -922,22 +923,23 @@ $ lttng start . Go back to the running `hello` application and press Enter. The program executes all `tracepoint()` instrumentation points and exits. -. <> and destroy the +. <> the current tracing session: + -- [role="term"] ---- -$ lttng stop $ lttng destroy ---- -- + -You need to stop tracing to make LTTng flush the remaining trace data -and make the trace readable. -+ The man:lttng-destroy(1) command does not destroy the trace data; it only destroys the state of the tracing session. ++ +The man:lttng-destroy(1) command also runs the man:lttng-stop(1) command +implicitly (see <>). You need to stop tracing to make LTTng flush the remaining +trace data and make the trace readable. By default, LTTng saves the traces in +$LTTNG_HOME/lttng-traces/__name__-__date__-__time__+, @@ -5557,6 +5559,11 @@ $ lttng destroy ---- -- +The man:lttng-destroy(1) command also runs the man:lttng-stop(1) +command implicitly (see <>). You need to stop tracing to make LTTng flush the +remaining trace data and make the trace readable. + [[list-instrumentation-points]] === List the available instrumentation points @@ -5935,7 +5942,10 @@ man:lttng-start(1), warnings are printed when you run the man:lttng-stop(1) command. IMPORTANT: You need to stop tracing to make LTTng flush the remaining -trace data and make the trace readable. +trace data and make the trace readable. Note that the +man:lttng-destroy(1) command (see +<>) also runs the man:lttng-stop(1) command implicitly. [[enabling-disabling-channels]]