{"id":14795,"url":"https://patchwork.libcamera.org/api/patches/14795/?format=json","web_url":"https://patchwork.libcamera.org/patch/14795/","project":{"id":1,"url":"https://patchwork.libcamera.org/api/projects/1/?format=json","name":"libcamera","link_name":"libcamera","list_id":"libcamera_core","list_email":"libcamera-devel@lists.libcamera.org","web_url":"","scm_url":"","webscm_url":""},"msgid":"<20211126074219.3930973-1-paul.elder@ideasonboard.com>","date":"2021-11-26T07:42:19","name":"[libcamera-devel] guides: tracing: Mention where to find the trace file","commit_ref":"8acc82ec0d317b2d8cae6ba57904fbd3811f89e0","pull_url":null,"state":"accepted","archived":false,"hash":"abd98bf81677790cae1f95129e7599e13d8fabea","submitter":{"id":17,"url":"https://patchwork.libcamera.org/api/people/17/?format=json","name":"Paul Elder","email":"paul.elder@ideasonboard.com"},"delegate":null,"mbox":"https://patchwork.libcamera.org/patch/14795/mbox/","series":[{"id":2760,"url":"https://patchwork.libcamera.org/api/series/2760/?format=json","web_url":"https://patchwork.libcamera.org/project/libcamera/list/?series=2760","date":"2021-11-26T07:42:19","name":"[libcamera-devel] guides: tracing: Mention where to find the trace file","version":1,"mbox":"https://patchwork.libcamera.org/series/2760/mbox/"}],"comments":"https://patchwork.libcamera.org/api/patches/14795/comments/","check":"pending","checks":"https://patchwork.libcamera.org/api/patches/14795/checks/","tags":{},"headers":{"Return-Path":"<libcamera-devel-bounces@lists.libcamera.org>","X-Original-To":"parsemail@patchwork.libcamera.org","Delivered-To":"parsemail@patchwork.libcamera.org","Received":["from lancelot.ideasonboard.com (lancelot.ideasonboard.com\n\t[92.243.16.209])\n\tby patchwork.libcamera.org (Postfix) with ESMTPS id 26184BF415\n\tfor <parsemail@patchwork.libcamera.org>;\n\tFri, 26 Nov 2021 07:42:36 +0000 (UTC)","from lancelot.ideasonboard.com (localhost [IPv6:::1])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTP id 8C2506011D;\n\tFri, 26 Nov 2021 08:42:35 +0100 (CET)","from perceval.ideasonboard.com (perceval.ideasonboard.com\n\t[213.167.242.64])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTPS id 2D6606011D\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tFri, 26 Nov 2021 08:42:33 +0100 (CET)","from pyrite.rasen.tech (unknown\n\t[IPv6:2400:4051:61:600:2c71:1b79:d06d:5032])\n\tby perceval.ideasonboard.com (Postfix) with ESMTPSA id 773F8340;\n\tFri, 26 Nov 2021 08:42:31 +0100 (CET)"],"Authentication-Results":"lancelot.ideasonboard.com;\n\tdkim=fail reason=\"signature verification failed\" (1024-bit key;\n\tunprotected) header.d=ideasonboard.com header.i=@ideasonboard.com\n\theader.b=\"XTVvA1Qb\"; dkim-atps=neutral","DKIM-Signature":"v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com;\n\ts=mail; t=1637912552;\n\tbh=gvd+3ZOjoNJQpLwnGtdwo2ESac237jm5ADpKgo564zs=;\n\th=From:To:Cc:Subject:Date:From;\n\tb=XTVvA1QbksaWK7EEJGmFo6nieU9IzjaR0gC1OzpLSvoBaVWFd09EEiTysTC6fbu0s\n\ttQKrqd1kx+4+du9VxBYN8LtF0liRo5iFJTFzpi3rolIh+sd4dAjckEcAM9bwFF9ZGi\n\t1CdNSQ3j+g6Gfpn8vp0UoRwTztGnY6neAQgGOOf0=","From":"Paul Elder <paul.elder@ideasonboard.com>","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","Content-Transfer-Encoding":"8bit","Subject":"[libcamera-devel] [PATCH] guides: tracing: Mention where to find\n\tthe trace file","X-BeenThere":"libcamera-devel@lists.libcamera.org","X-Mailman-Version":"2.1.29","Precedence":"list","List-Id":"<libcamera-devel.lists.libcamera.org>","List-Unsubscribe":"<https://lists.libcamera.org/options/libcamera-devel>,\n\t<mailto:libcamera-devel-request@lists.libcamera.org?subject=unsubscribe>","List-Archive":"<https://lists.libcamera.org/pipermail/libcamera-devel/>","List-Post":"<mailto:libcamera-devel@lists.libcamera.org>","List-Help":"<mailto:libcamera-devel-request@lists.libcamera.org?subject=help>","List-Subscribe":"<https://lists.libcamera.org/listinfo/libcamera-devel>,\n\t<mailto:libcamera-devel-request@lists.libcamera.org?subject=subscribe>","Errors-To":"libcamera-devel-bounces@lists.libcamera.org","Sender":"\"libcamera-devel\" <libcamera-devel-bounces@lists.libcamera.org>"},"content":"Add a couple sentences describing where to find the trace file, and how\nto view it even after the tracing session is destroyed.\n\nSigned-off-by: Paul Elder <paul.elder@ideasonboard.com>\n---\n Documentation/guides/tracing.rst | 6 ++++++\n 1 file changed, 6 insertions(+)","diff":"diff --git a/Documentation/guides/tracing.rst b/Documentation/guides/tracing.rst\nindex 9c688b93..ae960d85 100644\n--- a/Documentation/guides/tracing.rst\n+++ b/Documentation/guides/tracing.rst\n@@ -117,6 +117,12 @@ A trace can be collected fairly simply from lttng:\n \n See the `lttng documentation <https://lttng.org/docs/>`_ for further details.\n \n+The location of the trace file is printed when running\n+``lttng create $SESSION_NAME``. After destroying the session, it can still be\n+viewed by: ``lttng view -t $PATH_TO_TRACE``, where ``$PATH_TO_TRACE`` is the\n+path that was printed when the session was created. This is the same path that\n+is used when analyzing traces programatically, as described in the next section.\n+\n Analyzing a trace\n -----------------\n \n","prefixes":["libcamera-devel"]}