Patch Detail
Show a patch.
GET /api/1.1/patches/10289/?format=api
{ "id": 10289, "url": "https://patchwork.libcamera.org/api/1.1/patches/10289/?format=api", "web_url": "https://patchwork.libcamera.org/patch/10289/", "project": { "id": 1, "url": "https://patchwork.libcamera.org/api/1.1/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": "<20201028103151.34575-3-paul.elder@ideasonboard.com>", "date": "2020-10-28T10:31:48", "name": "[libcamera-devel,v2,3/6] tracepoints: Add pipeline tracepoints for tracing IPA calls", "commit_ref": null, "pull_url": null, "state": "superseded", "archived": false, "hash": "436da1625ae99ee00ea74e334913cf3954c5ab21", "submitter": { "id": 17, "url": "https://patchwork.libcamera.org/api/1.1/people/17/?format=api", "name": "Paul Elder", "email": "paul.elder@ideasonboard.com" }, "delegate": { "id": 17, "url": "https://patchwork.libcamera.org/api/1.1/users/17/?format=api", "username": "epaul", "first_name": "Paul", "last_name": "Elder", "email": "paul.elder@ideasonboard.com" }, "mbox": "https://patchwork.libcamera.org/patch/10289/mbox/", "series": [ { "id": 1428, "url": "https://patchwork.libcamera.org/api/1.1/series/1428/?format=api", "web_url": "https://patchwork.libcamera.org/project/libcamera/list/?series=1428", "date": "2020-10-28T10:31:46", "name": "[libcamera-devel,v2,1/6] libcamera: tracing: Implement tracing infrastructure", "version": 2, "mbox": "https://patchwork.libcamera.org/series/1428/mbox/" } ], "comments": "https://patchwork.libcamera.org/api/patches/10289/comments/", "check": "pending", "checks": "https://patchwork.libcamera.org/api/patches/10289/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 90AE7BDB1E\n\tfor <parsemail@patchwork.libcamera.org>;\n\tWed, 28 Oct 2020 10:32:08 +0000 (UTC)", "from lancelot.ideasonboard.com (localhost [IPv6:::1])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTP id 5F47862600;\n\tWed, 28 Oct 2020 11:32:08 +0100 (CET)", "from perceval.ideasonboard.com (perceval.ideasonboard.com\n\t[213.167.242.64])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTPS id E5A6C62600\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tWed, 28 Oct 2020 11:32:05 +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 79A8499A;\n\tWed, 28 Oct 2020 11:32:04 +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=\"dOTOL4sq\"; dkim-atps=neutral", "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com;\n\ts=mail; t=1603881125;\n\tbh=21ZqDIEgZYtF6D/fdJWOofjwXBRx1F5hdjr8KUnaEe8=;\n\th=From:To:Cc:Subject:Date:In-Reply-To:References:From;\n\tb=dOTOL4sqIOBVvhy+gIGEFtnw+Ny80hHPgM7lQFqR0oejZ9OqQqKALq5jbZmE5G9He\n\tR/ds/5aaA0W1n4exieSGthXvCNFwKigKkx5yk73G2iTJThrdU6WSu1ycIMX7+5wri+\n\ttTscx1+/Ag+vmqt6J/xpOPFBXV5Eh9wgFXNISjfI=", "From": "Paul Elder <paul.elder@ideasonboard.com>", "To": "libcamera-devel@lists.libcamera.org", "Date": "Wed, 28 Oct 2020 19:31:48 +0900", "Message-Id": "<20201028103151.34575-3-paul.elder@ideasonboard.com>", "X-Mailer": "git-send-email 2.27.0", "In-Reply-To": "<20201028103151.34575-1-paul.elder@ideasonboard.com>", "References": "<20201028103151.34575-1-paul.elder@ideasonboard.com>", "MIME-Version": "1.0", "Subject": "[libcamera-devel] [PATCH v2 3/6] tracepoints: Add pipeline\n\ttracepoints for tracing IPA calls", "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>", "Content-Type": "text/plain; charset=\"us-ascii\"", "Content-Transfer-Encoding": "7bit", "Errors-To": "libcamera-devel-bounces@lists.libcamera.org", "Sender": "\"libcamera-devel\" <libcamera-devel-bounces@lists.libcamera.org>" }, "content": "Add a pair of tracepoints to a general pipeline tracepoints file,\nlibcamera:ipa_call_start and libcamera:ipa_call_finish, to trace IPA\ncalls. This allows us to obtain the time taken for the IPA call.\n\nSigned-off-by: Paul Elder <paul.elder@ideasonboard.com>\n\n---\nNew in v2\n---\n .../internal/tracepoints/meson.build | 1 +\n .../internal/tracepoints/pipeline.tp | 25 +++++++++++++++++++\n 2 files changed, 26 insertions(+)\n create mode 100644 include/libcamera/internal/tracepoints/pipeline.tp", "diff": "diff --git a/include/libcamera/internal/tracepoints/meson.build b/include/libcamera/internal/tracepoints/meson.build\nindex 8410c205..a34135ce 100644\n--- a/include/libcamera/internal/tracepoints/meson.build\n+++ b/include/libcamera/internal/tracepoints/meson.build\n@@ -1,5 +1,6 @@\n # SPDX-License-Identifier: CC0-1.0\n \n tracepoint_files = files([\n+ 'pipeline.tp',\n 'request.tp',\n ])\ndiff --git a/include/libcamera/internal/tracepoints/pipeline.tp b/include/libcamera/internal/tracepoints/pipeline.tp\nnew file mode 100644\nindex 00000000..603f4a8c\n--- /dev/null\n+++ b/include/libcamera/internal/tracepoints/pipeline.tp\n@@ -0,0 +1,25 @@\n+TRACEPOINT_EVENT(\n+\tlibcamera,\n+\tipa_call_start,\n+\tTP_ARGS(\n+\t\tchar *, pipe,\n+\t\tchar *, func\n+\t),\n+\tTP_FIELDS(\n+\t\tctf_string(pipeline_name, pipe)\n+\t\tctf_string(function_name, func)\n+\t)\n+)\n+\n+TRACEPOINT_EVENT(\n+\tlibcamera,\n+\tipa_call_finish,\n+\tTP_ARGS(\n+\t\tchar *, pipe,\n+\t\tchar *, func\n+\t),\n+\tTP_FIELDS(\n+\t\tctf_string(pipeline_name, pipe)\n+\t\tctf_string(function_name, func)\n+\t)\n+)\n", "prefixes": [ "libcamera-devel", "v2", "3/6" ] }