From 8acc82ec0d317b2d8cae6ba57904fbd3811f89e0 Mon Sep 17 00:00:00 2001 From: Paul Elder Date: Fri, 26 Nov 2021 16:42:19 +0900 Subject: 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 Reviewed-by: Kieran Bingham Reviewed-by: Laurent Pinchart Signed-off-by: Kieran Bingham --- Documentation/guides/tracing.rst | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'Documentation/guides/tracing.rst') diff --git a/Documentation/guides/tracing.rst b/Documentation/guides/tracing.rst index 9c688b93..ae960d85 100644 --- a/Documentation/guides/tracing.rst +++ b/Documentation/guides/tracing.rst @@ -117,6 +117,12 @@ A trace can be collected fairly simply from lttng: See the `lttng documentation `_ 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 ----------------- -- cgit v1.2.1