Cover Letter Detail
Show a cover letter.
GET /api/covers/16731/?format=api
{ "id": 16731, "url": "https://patchwork.libcamera.org/api/covers/16731/?format=api", "web_url": "https://patchwork.libcamera.org/cover/16731/", "project": { "id": 1, "url": "https://patchwork.libcamera.org/api/projects/1/?format=api", "name": "libcamera", "link_name": "libcamera", "list_id": "libcamera_core", "list_email": "libcamera-devel@lists.libcamera.org", "web_url": "", "scm_url": "", "webscm_url": "" }, "msgid": "<20220722120028.3155712-1-chenghaoyang@google.com>", "date": "2022-07-22T12:00:27", "name": "[libcamera-devel,v2,0/1] Use tracing with perfetto in ChromeOS", "submitter": { "id": 117, "url": "https://patchwork.libcamera.org/api/people/117/?format=api", "name": "Cheng-Hao Yang", "email": "chenghaoyang@chromium.org" }, "mbox": "https://patchwork.libcamera.org/cover/16731/mbox/", "series": [ { "id": 3318, "url": "https://patchwork.libcamera.org/api/series/3318/?format=api", "web_url": "https://patchwork.libcamera.org/project/libcamera/list/?series=3318", "date": "2022-07-22T12:00:27", "name": "Use tracing with perfetto in ChromeOS", "version": 2, "mbox": "https://patchwork.libcamera.org/series/3318/mbox/" } ], "comments": "https://patchwork.libcamera.org/api/covers/16731/comments/", "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 B9E29BE173\n\tfor <parsemail@patchwork.libcamera.org>;\n\tFri, 22 Jul 2022 12:00:39 +0000 (UTC)", "from lancelot.ideasonboard.com (localhost [IPv6:::1])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTP id DB0D26330F;\n\tFri, 22 Jul 2022 14:00:38 +0200 (CEST)", "from mail-pl1-x631.google.com (mail-pl1-x631.google.com\n\t[IPv6:2607:f8b0:4864:20::631])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTPS id DBD92601B8\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tFri, 22 Jul 2022 14:00:36 +0200 (CEST)", "by mail-pl1-x631.google.com with SMTP id z3so4408095plb.1\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tFri, 22 Jul 2022 05:00:36 -0700 (PDT)", "from chenghaoyang-low.c.googlers.com.com\n\t(231.137.80.34.bc.googleusercontent.com. [34.80.137.231])\n\tby smtp.gmail.com with ESMTPSA id\n\th5-20020a170902b94500b001635b86a790sm3540021pls.44.2022.07.22.05.00.32\n\t(version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);\n\tFri, 22 Jul 2022 05:00:33 -0700 (PDT)" ], "DKIM-Signature": [ "v=1; a=rsa-sha256; c=relaxed/simple; d=libcamera.org;\n\ts=mail; t=1658491238;\n\tbh=eG5ahJ6BBdq+xWk4A7aCqqLKHGTtYmOHFjLE6APFj8w=;\n\th=To:Date:Subject:List-Id:List-Unsubscribe:List-Archive:List-Post:\n\tList-Help:List-Subscribe:From:Reply-To:Cc:From;\n\tb=dPOWK78GLGDZjRAowX91IJAJHsaTitEkNdXhYAIJQRcW6eo4+4G1sM6IrcFl2YlyV\n\t8PqNoSpC46rVhiEhyYWdWI4/cWOy5thT5/MBjYmxmYWwPcpKY2sPoZhkQZjVWxjY83\n\tV6DcZFouIBE0WlKw6nhxNtn64dRRmlnopsYQuxYH6HHxX402RsFoBTHzauDGlGX/CE\n\tkK1Wdb7bUOKWid1jj8O1zQeXLKLTvZf1Qx/aurfp2Kw7oy9+F5ytHPp8jfRFbZ6Xbo\n\tTT7wkcsZxjQfz3Z6lz8mrmTgQfJuLmMkURMrsc1lK26TeJGT8sbQ+bhZbJgFEIvccG\n\t0aaUASLYM0mWg==", "v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org;\n\ts=google; h=from:to:cc:subject:date:message-id:mime-version\n\t:content-transfer-encoding;\n\tbh=JvsoN9lmwTv0wNvWiPilyuVa90Z2ynW4Wkb0tVTQASw=;\n\tb=YzWtDMXT8wGe7tfNWtbXmcVg1bxKUjDpWRHzbg3T+IbmFTnvKcEIgluzgCf2SjVND2\n\tiSCszj38znagv2W+Yxo4RuZQ2ba1ET78jojrUNqwYRxkH2kCMNr29DS+BH1fFpTfCAtp\n\tg850GFZWYauB7vx2LvsiDBhfp1mt281mEzhk4=" ], "Authentication-Results": "lancelot.ideasonboard.com; dkim=pass (1024-bit key; \n\tunprotected) header.d=chromium.org\n\theader.i=@chromium.org header.b=\"YzWtDMXT\"; \n\tdkim-atps=neutral", "X-Google-DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=1e100.net; s=20210112;\n\th=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version\n\t:content-transfer-encoding;\n\tbh=JvsoN9lmwTv0wNvWiPilyuVa90Z2ynW4Wkb0tVTQASw=;\n\tb=MyNHsKyDK/onybe++tcvdCETWiJ8aamrerkrVaOY2UHUXZQHJYE8XZSRZelvqhnlmn\n\tw93mCVbuKgt1vgLMKwBjgnn3kNvQ+73zFbX4W4+gmGPNUPQ72rASZ7wg2Zm9eFPgO/hm\n\tJseJ6ES3TCnPugvwx92llftUIe+fTMvyMyt1jXKcuhbRNeB/xaNDoEc+k5awbftk9nOn\n\tZ/lco6m4uEz30nibuIqYaY9GarKnoZKzraddjz878f+As2YlpnW29PeKhrA5umbEspqP\n\tldnJw5kWlmFwlDqpYnbUsjYnctt9pvDkieEh1y3tEYP+CXP/sMc88DPcYws0rl9QP5uA\n\tp+Mw==", "X-Gm-Message-State": "AJIora/DNBtFof6IRNDnGV2tDHEQzEXCWdc0XajBJHtOHZVOL2eQR6vW\n\tJbbbN9opJUewFpY6SPSBM0/ihIO7HuYDtg==", "X-Google-Smtp-Source": "AGRyM1veJcHr8j6DLfGtRDLWLKP5JhVIiQMcsTtlwoRTT47FHD4MMK3MB2CfObuDFP1Hs9Doll2BmQ==", "X-Received": "by 2002:a17:902:f64f:b0:16c:23c2:e2dd with SMTP id\n\tm15-20020a170902f64f00b0016c23c2e2ddmr101048plg.3.1658491234655; \n\tFri, 22 Jul 2022 05:00:34 -0700 (PDT)", "X-Google-Original-From": "Harvey Yang <chenghaoyang@google.com>", "To": "libcamera-devel@lists.libcamera.org", "Date": "Fri, 22 Jul 2022 12:00:27 +0000", "Message-Id": "<20220722120028.3155712-1-chenghaoyang@google.com>", "X-Mailer": "git-send-email 2.37.1.359.gd136c6c3e2-goog", "MIME-Version": "1.0", "Content-Transfer-Encoding": "8bit", "Subject": "[libcamera-devel] [PATCH v2 0/1] Use tracing with perfetto in\n\tChromeOS", "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>", "From": "Harvey Yang via libcamera-devel <libcamera-devel@lists.libcamera.org>", "Reply-To": "Harvey Yang <chenghaoyang@chromium.org>", "Cc": "Harvey Yang <chenghaoyang@google.com>", "Errors-To": "libcamera-devel-bounces@lists.libcamera.org", "Sender": "\"libcamera-devel\" <libcamera-devel-bounces@lists.libcamera.org>" }, "content": "Hi all,\n\nThis is the second draft of the patch(es) that uses tracing with perfetto\ninstead of lttng when libcamera is used in ChromeOS, which already uses\nperfetto to collect traces in most of the applications/services.\n\nThanks to Kieran's and Laurent's comments, I've updated the doc:\n`tracing.rst`, which includes the instructions to test with perfetto trace\nenabled. Please try and see how it goes.\n\nI'm not sure if it's proper to split up the patch, as most of the\nchanges are dependent to each other... Please give me some suggestions\n:)\n\nBR,\nHarvey\n\nHarvey Yang (1):\n Use tracing with perfetto in ChromeOS\n\n Documentation/guides/tracing.rst | 114 ++++++++++++++----\n include/libcamera/internal/tracepoints.h.in | 37 +++++-\n .../internal/tracepoints/meson.build | 25 ++--\n .../internal/tracepoints/pipeline.perfetto | 10 ++\n .../internal/tracepoints/request.perfetto | 30 +++++\n meson.build | 7 +-\n src/android/cros/camera3_hal.cpp | 5 +\n src/android/cros/meson.build | 1 +\n src/libcamera/meson.build | 14 ++-\n src/libcamera/pipeline_perfetto.cpp | 24 ++++\n src/libcamera/request_perfetto.cpp | 73 +++++++++++\n src/libcamera/tracepoints.cpp | 11 ++\n 12 files changed, 312 insertions(+), 39 deletions(-)\n create mode 100644 include/libcamera/internal/tracepoints/pipeline.perfetto\n create mode 100644 include/libcamera/internal/tracepoints/request.perfetto\n create mode 100644 src/libcamera/pipeline_perfetto.cpp\n create mode 100644 src/libcamera/request_perfetto.cpp" }