From patchwork Fri Nov 26 07:42:19 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Paul Elder X-Patchwork-Id: 14795 Return-Path: X-Original-To: parsemail@patchwork.libcamera.org Delivered-To: parsemail@patchwork.libcamera.org Received: from lancelot.ideasonboard.com (lancelot.ideasonboard.com [92.243.16.209]) by patchwork.libcamera.org (Postfix) with ESMTPS id 26184BF415 for ; Fri, 26 Nov 2021 07:42:36 +0000 (UTC) Received: from lancelot.ideasonboard.com (localhost [IPv6:::1]) by lancelot.ideasonboard.com (Postfix) with ESMTP id 8C2506011D; Fri, 26 Nov 2021 08:42:35 +0100 (CET) Authentication-Results: lancelot.ideasonboard.com; dkim=fail reason="signature verification failed" (1024-bit key; unprotected) header.d=ideasonboard.com header.i=@ideasonboard.com header.b="XTVvA1Qb"; dkim-atps=neutral Received: from perceval.ideasonboard.com (perceval.ideasonboard.com [213.167.242.64]) by lancelot.ideasonboard.com (Postfix) with ESMTPS id 2D6606011D for ; Fri, 26 Nov 2021 08:42:33 +0100 (CET) Received: from pyrite.rasen.tech (unknown [IPv6:2400:4051:61:600:2c71:1b79:d06d:5032]) by perceval.ideasonboard.com (Postfix) with ESMTPSA id 773F8340; Fri, 26 Nov 2021 08:42:31 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com; s=mail; t=1637912552; bh=gvd+3ZOjoNJQpLwnGtdwo2ESac237jm5ADpKgo564zs=; h=From:To:Cc:Subject:Date:From; b=XTVvA1QbksaWK7EEJGmFo6nieU9IzjaR0gC1OzpLSvoBaVWFd09EEiTysTC6fbu0s tQKrqd1kx+4+du9VxBYN8LtF0liRo5iFJTFzpi3rolIh+sd4dAjckEcAM9bwFF9ZGi 1CdNSQ3j+g6Gfpn8vp0UoRwTztGnY6neAQgGOOf0= From: Paul Elder To: libcamera-devel@lists.libcamera.org Date: Fri, 26 Nov 2021 16:42:19 +0900 Message-Id: <20211126074219.3930973-1-paul.elder@ideasonboard.com> X-Mailer: git-send-email 2.27.0 MIME-Version: 1.0 Subject: [libcamera-devel] [PATCH] guides: tracing: Mention where to find the trace file X-BeenThere: libcamera-devel@lists.libcamera.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: libcamera-devel-bounces@lists.libcamera.org Sender: "libcamera-devel" 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 --- 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 `_ 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 -----------------