guides: tracing: Mention where to find the trace file

Add a couple sentences describing where to find the trace file, and how
to view it even after the tracing session is destroyed.

Signed-off-by: Paul Elder <paul.elder@ideasonboard.com>
Reviewed-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
This commit is contained in:
Paul Elder
2021-12-01 15:42:55 +00:00
committed by Kieran Bingham
parent 437cc39668
commit 8acc82ec0d
+6
View File
@@ -117,6 +117,12 @@ A trace can be collected fairly simply from lttng:
See the `lttng documentation <https://lttng.org/docs/>`_ for further details.
The location of the trace file is printed when running
``lttng create $SESSION_NAME``. After destroying the session, it can still be
viewed by: ``lttng view -t $PATH_TO_TRACE``, where ``$PATH_TO_TRACE`` is the
path that was printed when the session was created. This is the same path that
is used when analyzing traces programatically, as described in the next section.
Analyzing a trace
-----------------