X-Git-Url: http://git.lttng.org./?a=blobdiff_plain;f=contents%2Fgetting-started%2Ftracing-your-own-user-application.md;fp=contents%2Fgetting-started%2Ftracing-your-own-user-application.md;h=f899e7da9e54ce459b016b8f1f16ec43e0440e66;hb=8eb0513dbf7b21442f9aebad439b55943493025f;hp=064e3c263c764955866a551db64382d8891dd1c9;hpb=b9eb413c78f288db3d07434bae6a8c54638b8692;p=lttng-docs.git diff --git a/contents/getting-started/tracing-your-own-user-application.md b/contents/getting-started/tracing-your-own-user-application.md index 064e3c2..f899e7d 100644 --- a/contents/getting-started/tracing-your-own-user-application.md +++ b/contents/getting-started/tracing-your-own-user-application.md @@ -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:
 lttng stop
-lttng destroy my-userspace-session
 
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: + +
+lttng destroy my-userspace-session
+
+ The next section presents other alternatives to view and analyze your LTTng traces.