get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 124085,
    "url": "http://patches.dpdk.org/api/patches/124085/?format=api",
    "web_url": "http://patches.dpdk.org/project/dpdk/patch/20230216175502.3164820-1-tduszynski@marvell.com/",
    "project": {
        "id": 1,
        "url": "http://patches.dpdk.org/api/projects/1/?format=api",
        "name": "DPDK",
        "link_name": "dpdk",
        "list_id": "dev.dpdk.org",
        "list_email": "dev@dpdk.org",
        "web_url": "http://core.dpdk.org",
        "scm_url": "git://dpdk.org/dpdk",
        "webscm_url": "http://git.dpdk.org/dpdk",
        "list_archive_url": "https://inbox.dpdk.org/dev",
        "list_archive_url_format": "https://inbox.dpdk.org/dev/{}",
        "commit_url_format": ""
    },
    "msgid": "<20230216175502.3164820-1-tduszynski@marvell.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/20230216175502.3164820-1-tduszynski@marvell.com",
    "date": "2023-02-16T17:54:58",
    "name": "[v11,0/4] add support for self monitoring",
    "commit_ref": null,
    "pull_url": null,
    "state": null,
    "archived": false,
    "hash": null,
    "submitter": {
        "id": 2215,
        "url": "http://patches.dpdk.org/api/people/2215/?format=api",
        "name": "Tomasz Duszynski",
        "email": "tduszynski@marvell.com"
    },
    "delegate": null,
    "mbox": "http://patches.dpdk.org/project/dpdk/patch/20230216175502.3164820-1-tduszynski@marvell.com/mbox/",
    "series": [],
    "comments": "http://patches.dpdk.org/api/patches/124085/comments/",
    "check": "pending",
    "checks": "http://patches.dpdk.org/api/patches/124085/checks/",
    "tags": {},
    "related": [],
    "headers": {
        "Return-Path": "<dev-bounces@dpdk.org>",
        "X-Original-To": "patchwork@inbox.dpdk.org",
        "Delivered-To": "patchwork@inbox.dpdk.org",
        "Received": [
            "from mails.dpdk.org (mails.dpdk.org [217.70.189.124])\n\tby inbox.dpdk.org (Postfix) with ESMTP id 8871041CB3;\n\tThu, 16 Feb 2023 18:55:35 +0100 (CET)",
            "from mails.dpdk.org (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id 21F3542D1A;\n\tThu, 16 Feb 2023 18:55:35 +0100 (CET)",
            "from mx0b-0016f401.pphosted.com (mx0b-0016f401.pphosted.com\n [67.231.156.173])\n by mails.dpdk.org (Postfix) with ESMTP id 5CE3540EE3\n for <dev@dpdk.org>; Thu, 16 Feb 2023 18:55:33 +0100 (CET)",
            "from pps.filterd (m0045851.ppops.net [127.0.0.1])\n by mx0b-0016f401.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id\n 31GH3hKY007079; Thu, 16 Feb 2023 09:55:30 -0800",
            "from dc5-exch02.marvell.com ([199.233.59.182])\n by mx0b-0016f401.pphosted.com (PPS) with ESMTPS id 3nsg6wb0cp-1\n (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384 bits=256 verify=NOT);\n Thu, 16 Feb 2023 09:55:30 -0800",
            "from DC5-EXCH01.marvell.com (10.69.176.38) by DC5-EXCH02.marvell.com\n (10.69.176.39) with Microsoft SMTP Server (TLS) id 15.0.1497.42;\n Thu, 16 Feb 2023 09:55:27 -0800",
            "from maili.marvell.com (10.69.176.80) by DC5-EXCH01.marvell.com\n (10.69.176.38) with Microsoft SMTP Server id 15.0.1497.42 via Frontend\n Transport; Thu, 16 Feb 2023 09:55:27 -0800",
            "from cavium-DT10.. (unknown [10.28.34.39])\n by maili.marvell.com (Postfix) with ESMTP id 797A13F7097;\n Thu, 16 Feb 2023 09:55:24 -0800 (PST)"
        ],
        "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed; d=marvell.com;\n h=from : to : cc :\n subject : date : message-id : in-reply-to : references : mime-version :\n content-type : content-transfer-encoding; s=pfpt0220;\n bh=FTH4G8LayQjvO6LryfWUe0fe+zlDqVqWqSlnKq/rsi4=;\n b=YPi6/6Ty37CEYrMZvUwMVpHlr1BW7K6/LiHjz+6S/3F+fe8PDbqAGkrJzLG+cSrZLkvu\n kBJc9VOYvwewVLJAHPaNlp44aL0jmhZ8eaPSJbdnBNEiFnUXtINc802VQpcfbIkzYqD0\n QFatRECySbRcZ+lkenHsMKFwFRgYmIg+EWt0esewdG8xwZPWm+m6MjdqzaIAJjATjum8\n xNj0T7/n/1INOJSLmcVGFBpp7xehmm7+qnqM9SC4Nbj9u/dWqhJIpzd5QDjne+TbzEkj\n t2dLHMAWCJ0FwBgfkVhzuV9m6+owmaY8u/YbhXlM1zSxU2AMQTz8dr0zDiywTQJ4Z6cC 4w==",
        "From": "Tomasz Duszynski <tduszynski@marvell.com>",
        "To": "<dev@dpdk.org>",
        "CC": "<roretzla@linux.microsoft.com>, <Ruifeng.Wang@arm.com>,\n <bruce.richardson@intel.com>, <jerinj@marvell.com>,\n <mattias.ronnblom@ericsson.com>, <mb@smartsharesystems.com>,\n <thomas@monjalon.net>, <zhoumin@loongson.cn>,\n <david.marchand@redhat.com>, Tomasz Duszynski <tduszynski@marvell.com>",
        "Subject": "[PATCH v11 0/4] add support for self monitoring",
        "Date": "Thu, 16 Feb 2023 18:54:58 +0100",
        "Message-ID": "<20230216175502.3164820-1-tduszynski@marvell.com>",
        "X-Mailer": "git-send-email 2.34.1",
        "In-Reply-To": "<20230213113156.385482-1-tduszynski@marvell.com>",
        "References": "<20230213113156.385482-1-tduszynski@marvell.com>",
        "MIME-Version": "1.0",
        "Content-Type": "text/plain; charset=\"UTF-8\"",
        "Content-Transfer-Encoding": "8bit",
        "X-Proofpoint-ORIG-GUID": "xOWpd11DRx-wfzQIbdIIPCS62ZmXhY1s",
        "X-Proofpoint-GUID": "xOWpd11DRx-wfzQIbdIIPCS62ZmXhY1s",
        "X-Proofpoint-Virus-Version": "vendor=baseguard\n engine=ICAP:2.0.219,Aquarius:18.0.930,Hydra:6.0.562,FMLib:17.11.170.22\n definitions=2023-02-16_14,2023-02-16_01,2023-02-09_01",
        "X-BeenThere": "dev@dpdk.org",
        "X-Mailman-Version": "2.1.29",
        "Precedence": "list",
        "List-Id": "DPDK patches and discussions <dev.dpdk.org>",
        "List-Unsubscribe": "<https://mails.dpdk.org/options/dev>,\n <mailto:dev-request@dpdk.org?subject=unsubscribe>",
        "List-Archive": "<http://mails.dpdk.org/archives/dev/>",
        "List-Post": "<mailto:dev@dpdk.org>",
        "List-Help": "<mailto:dev-request@dpdk.org?subject=help>",
        "List-Subscribe": "<https://mails.dpdk.org/listinfo/dev>,\n <mailto:dev-request@dpdk.org?subject=subscribe>",
        "Errors-To": "dev-bounces@dpdk.org"
    },
    "content": "This series adds self monitoring support i.e allows to configure and\nread performance measurement unit (PMU) counters in runtime without\nusing perf utility. This has certain advantages when application runs on\nisolated cores running dedicated tasks.\n\nEvents can be read directly using rte_pmu_read() or using dedicated\ntracepoint rte_eal_trace_pmu_read(). The latter will cause events to be\nstored inside CTF file.\n\nBy design, all enabled events are grouped together and the same group\nis attached to lcores that use self monitoring funtionality.\n\nEvents are enabled by names, which need to be read from standard\nlocation under sysfs i.e\n\n/sys/bus/event_source/devices/PMU/events\n\nwhere PMU is a core pmu i.e one measuring cpu events. As of today\nraw events are not supported.\n\nv11:\n- skip fast test in case init fails\nv10:\n- check permissions before using counters\n- do not use internal symbols in exported functions\n- address review comments\nv9:\n- fix 'maybe-uninitialized' warning reported by CI\nv8:\n- just rebase series\nv7:\n- use per-lcore event group instead of global table index by lcore-id\n- don't add pmu_autotest to fast tests because due to lack of suported on\n  every arch\nv6:\n- move codebase to the separate library\n- address review comments\nv5:\n- address review comments\n- fix sign extension while reading pmu on x86\n- fix regex mentioned in doc\n- various minor changes/improvements here and there\nv4:\n- fix freeing mem detected by debug_autotest\nv3:\n- fix shared build\nv2:\n- fix problems reported by test build infra\n\nTomasz Duszynski (4):\n  lib: add generic support for reading PMU events\n  pmu: support reading ARM PMU events in runtime\n  pmu: support reading Intel x86_64 PMU events in runtime\n  eal: add PMU support to tracing library\n\n MAINTAINERS                              |   5 +\n app/test/meson.build                     |   2 +\n app/test/test_pmu.c                      |  68 +++\n app/test/test_trace_perf.c               |  10 +\n doc/api/doxy-api-index.md                |   3 +-\n doc/api/doxy-api.conf.in                 |   1 +\n doc/guides/prog_guide/profile_app.rst    |  17 +\n doc/guides/prog_guide/trace_lib.rst      |  32 ++\n doc/guides/rel_notes/release_23_03.rst   |   7 +\n lib/eal/common/eal_common_trace.c        |  13 +-\n lib/eal/common/eal_common_trace_points.c |   5 +\n lib/eal/include/rte_eal_trace.h          |  13 +\n lib/eal/meson.build                      |   3 +\n lib/eal/version.map                      |   1 +\n lib/meson.build                          |   1 +\n lib/pmu/meson.build                      |  21 +\n lib/pmu/pmu_arm64.c                      |  94 ++++\n lib/pmu/pmu_private.h                    |  32 ++\n lib/pmu/rte_pmu.c                        | 521 +++++++++++++++++++++++\n lib/pmu/rte_pmu.h                        | 232 ++++++++++\n lib/pmu/rte_pmu_pmc_arm64.h              |  30 ++\n lib/pmu/rte_pmu_pmc_x86_64.h             |  24 ++\n lib/pmu/version.map                      |  16 +\n 23 files changed, 1149 insertions(+), 2 deletions(-)\n create mode 100644 app/test/test_pmu.c\n create mode 100644 lib/pmu/meson.build\n create mode 100644 lib/pmu/pmu_arm64.c\n create mode 100644 lib/pmu/pmu_private.h\n create mode 100644 lib/pmu/rte_pmu.c\n create mode 100644 lib/pmu/rte_pmu.h\n create mode 100644 lib/pmu/rte_pmu_pmc_arm64.h\n create mode 100644 lib/pmu/rte_pmu_pmc_x86_64.h\n create mode 100644 lib/pmu/version.map\n\n--\n2.34.1",
    "diff": null,
    "prefixes": [
        "v11",
        "0/4"
    ]
}