X-Git-Url: http://git.lttng.org./?a=blobdiff_plain;f=contents%2Fusing-lttng%2Fcontrolling-tracing%2Fcreating-destroying-tracing-sessions.md;h=e92dbafbe70cc63669b74f2cfe4de4f36d6e856e;hb=1bf7ee862bb9826b5b48a432af54477ae5e04ff7;hp=e7d173bb0f4a14f4af65ab7f1a9cd7f1621242c1;hpb=5e0cbfb01373c18e521217342fd8a9159cc186b1;p=lttng-docs.git diff --git a/contents/using-lttng/controlling-tracing/creating-destroying-tracing-sessions.md b/contents/using-lttng/controlling-tracing/creating-destroying-tracing-sessions.md index e7d173b..e92dbaf 100644 --- a/contents/using-lttng/controlling-tracing/creating-destroying-tracing-sessions.md +++ b/contents/using-lttng/controlling-tracing/creating-destroying-tracing-sessions.md @@ -31,9 +31,10 @@ To create a tracing session, do: lttng create my-session -This will create a new tracing session named `my-session` and make it -the current one. If you don't specify any name (calling only -`lttng create`), your tracing session will be named `auto`. Traces +This creates a new tracing session named `my-session` and make it +the current one. If you don't specify a name (running only +`lttng create`), your tracing session is named `auto` followed by the +current date and time. Traces are written in ~/lttng-traces/session- followed by the tracing session's creation date/time by default, where session is the tracing session name. To save them @@ -76,8 +77,8 @@ command: lttng destroy my-session -Providing no argument to `lttng destroy` will destroy the current -tracing session. Destroying a tracing session will stop any tracing +Providing no argument to `lttng destroy` destroys the current +tracing session. Destroying a tracing session stops any tracing running within the latter. Destroying a tracing session frees resources acquired by the session daemon and tracer side, making sure to flush all trace data.