tracing-your-own-user-application: lttng view before destroy
authorPhilippe Proulx <eeppeliteloop@gmail.com>
Thu, 23 Oct 2014 17:58:57 +0000 (13:58 -0400)
committerPhilippe Proulx <eeppeliteloop@gmail.com>
Thu, 23 Oct 2014 18:01:53 +0000 (14:01 -0400)
Signed-off-by: Philippe Proulx <eeppeliteloop@gmail.com>
contents/getting-started/tracing-your-own-user-application.md

index 064e3c263c764955866a551db64382d8891dd1c9..f899e7da9e54ce459b016b8f1f16ec43e0440e66 100644 (file)
@@ -184,11 +184,10 @@ lttng start
 Go back to the running `hello` application and press Enter. All `tracepoint()`
 calls will be executed and the program will finally exit.
 
-Stop tracing and destroy the tracing session:
+Stop tracing:
 
 <pre class="term">
 lttng stop
-lttng destroy my-userspace-session
 </pre>
 
 Done! You may use `lttng view` to list the recorded events. This command
@@ -211,5 +210,13 @@ should output something like:
 [18:10:27.684357978] (+0.000014460) hostname hello_world:my_first_tracepoint: { cpu_id = 0 }, { my_string_field = "x^2", my_integer_field = 16 }
 ~~~
 
+When you're done, you may destroy the tracing session, which does _not_
+destroy the generated trace files, leaving them available for further
+analysis:
+
+<pre class="term">
+lttng destroy my-userspace-session
+</pre>
+
 The next section presents other alternatives to view and analyze your
 LTTng traces.
This page took 0.023896 seconds and 4 git commands to generate.