Show a patch.

GET /api/patches/14160/?format=api
HTTP 200 OK
Allow: GET, PUT, PATCH, HEAD, OPTIONS
Content-Type: application/json
Vary: Accept

{
    "id": 14160,
    "url": "https://patchwork.libcamera.org/api/patches/14160/?format=api",
    "web_url": "https://patchwork.libcamera.org/patch/14160/",
    "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": "<20211018045226.6759-1-laurent.pinchart@ideasonboard.com>",
    "date": "2021-10-18T04:52:26",
    "name": "[libcamera-devel] README: Document dependencies for backtrace generation",
    "commit_ref": "78e94065fca63bfc3d00e77928554a440cd493a3",
    "pull_url": null,
    "state": "accepted",
    "archived": false,
    "hash": "17675d6b9eb2db2e171d8318d81ec8364a3b8d77",
    "submitter": {
        "id": 2,
        "url": "https://patchwork.libcamera.org/api/people/2/?format=api",
        "name": "Laurent Pinchart",
        "email": "laurent.pinchart@ideasonboard.com"
    },
    "delegate": null,
    "mbox": "https://patchwork.libcamera.org/patch/14160/mbox/",
    "series": [
        {
            "id": 2635,
            "url": "https://patchwork.libcamera.org/api/series/2635/?format=api",
            "web_url": "https://patchwork.libcamera.org/project/libcamera/list/?series=2635",
            "date": "2021-10-18T04:52:26",
            "name": "[libcamera-devel] README: Document dependencies for backtrace generation",
            "version": 1,
            "mbox": "https://patchwork.libcamera.org/series/2635/mbox/"
        }
    ],
    "comments": "https://patchwork.libcamera.org/api/patches/14160/comments/",
    "check": "pending",
    "checks": "https://patchwork.libcamera.org/api/patches/14160/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 7516AC323E\n\tfor <parsemail@patchwork.libcamera.org>;\n\tMon, 18 Oct 2021 04:52:48 +0000 (UTC)",
            "from lancelot.ideasonboard.com (localhost [IPv6:::1])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTP id B565568F59;\n\tMon, 18 Oct 2021 06:52:47 +0200 (CEST)",
            "from perceval.ideasonboard.com (perceval.ideasonboard.com\n\t[213.167.242.64])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTPS id EFCD960128\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tMon, 18 Oct 2021 06:52:46 +0200 (CEST)",
            "from pendragon.lan (62-78-145-57.bb.dnainternet.fi [62.78.145.57])\n\tby perceval.ideasonboard.com (Postfix) with ESMTPSA id 709B712A\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tMon, 18 Oct 2021 06:52:46 +0200 (CEST)"
        ],
        "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=\"GsXF/21a\"; dkim-atps=neutral",
        "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com;\n\ts=mail; t=1634532766;\n\tbh=5B4cDqXkvyq5jR0D4YTuMf9IyvQfJrtkmoP1WIyvTBs=;\n\th=From:To:Subject:Date:From;\n\tb=GsXF/21alz+yAVJajvdp4mVsUcrp9NWhQdvS0vWapWCBlWjddu/xpLm4u+p7+C9oj\n\tPH6iL2+GaalZTaBhJTtnuo11Pb1iQ2mFR2Ftie++B6oua57PDnstkZl4oawJmG0tYb\n\tJfBUXDFAwM7wQ0zZRE/ACMvM+NEDCxG3gAJXql84=",
        "From": "Laurent Pinchart <laurent.pinchart@ideasonboard.com>",
        "To": "libcamera-devel@lists.libcamera.org",
        "Date": "Mon, 18 Oct 2021 07:52:26 +0300",
        "Message-Id": "<20211018045226.6759-1-laurent.pinchart@ideasonboard.com>",
        "X-Mailer": "git-send-email 2.32.0",
        "MIME-Version": "1.0",
        "Content-Transfer-Encoding": "8bit",
        "Subject": "[libcamera-devel] [PATCH] README: Document dependencies for\n\tbacktrace generation",
        "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": "libcamera now has the ability to use libdw and libunwind to generate\nbacktraces, in addition to the glibc backtrace() function. libdw\nprovides the most detailed output and is highly recommended, but is\nlimited to parsing backtraces, it doesn't support capturing them.\nlibunwind and backtrace() provide both features. If backtrace() is\navailable, libunwind will not bring any improvement.\n\nSigned-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>\n---\n README.rst | 8 ++++++++\n 1 file changed, 8 insertions(+)\n\n\nbase-commit: 2f75a7e5b8c6258dc12e9e3128cb30133f66b4f9\nprerequisite-patch-id: a2501788e3af4ef5a091e784838d614c59e5d7fc\nprerequisite-patch-id: 50f1d9ef74d51440b0f79116eb82580ad1fa04a2\nprerequisite-patch-id: 6ad689b8c9be17165b330a16c7cef62dbdfb5d8f",
    "diff": "diff --git a/README.rst b/README.rst\nindex 9ad0823d2038..8af5f1184e5f 100644\n--- a/README.rst\n+++ b/README.rst\n@@ -63,6 +63,14 @@ for the libcamera core: [required]\n for IPA module signing: [required]\n         libgnutls28-dev openssl\n \n+for improved debugging: [optional]\n+        libdw-dev libunwind-dev\n+\n+        libdw and libunwind provide backtraces to help debugging assertion\n+        failures. Their functions overlap, libdw provides the most detailed\n+        information, and libunwind is not needed if both libdw and the glibc\n+        backtrace() function are available.\n+\n for the Raspberry Pi IPA: [optional]\n         libboost-dev\n \n",
    "prefixes": [
        "libcamera-devel"
    ]
}