[libcamera-devel] [PATCH] guides: tracing: Mention where to find the trace file

Paul Elder paul.elder at ideasonboard.com
Fri Nov 26 08:42:19 CET 2021


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 at ideasonboard.com>
---
 Documentation/guides/tracing.rst | 6 ++++++
 1 file changed, 6 insertions(+)

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 <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
 -----------------
 
-- 
2.27.0



More information about the libcamera-devel mailing list