get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 123784,
    "url": "https://patches.dpdk.org/api/patches/123784/?format=api",
    "web_url": "https://patches.dpdk.org/project/dpdk/patch/20230213113156.385482-1-tduszynski@marvell.com/",
    "project": {
        "id": 1,
        "url": "https://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": "<20230213113156.385482-1-tduszynski@marvell.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/20230213113156.385482-1-tduszynski@marvell.com",
    "date": "2023-02-13T11:31:52",
    "name": "[v10,0/4] add support for self monitoring",
    "commit_ref": null,
    "pull_url": null,
    "state": null,
    "archived": false,
    "hash": null,
    "submitter": {
        "id": 2215,
        "url": "https://patches.dpdk.org/api/people/2215/?format=api",
        "name": "Tomasz Duszynski",
        "email": "tduszynski@marvell.com"
    },
    "delegate": null,
    "mbox": "https://patches.dpdk.org/project/dpdk/patch/20230213113156.385482-1-tduszynski@marvell.com/mbox/",
    "series": [],
    "comments": "https://patches.dpdk.org/api/patches/123784/comments/",
    "check": "pending",
    "checks": "https://patches.dpdk.org/api/patches/123784/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 E4B3B41C88;\n\tMon, 13 Feb 2023 12:32:28 +0100 (CET)",
            "from mails.dpdk.org (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id 7B58D40A81;\n\tMon, 13 Feb 2023 12:32:28 +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 0EA65400D6\n for <dev@dpdk.org>; Mon, 13 Feb 2023 12:32:26 +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 31D8HZ81031402; Mon, 13 Feb 2023 03:32:24 -0800",
            "from dc5-exch02.marvell.com ([199.233.59.182])\n by mx0b-0016f401.pphosted.com (PPS) with ESMTPS id 3npbe1y5nc-1\n (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384 bits=256 verify=NOT);\n Mon, 13 Feb 2023 03:32:23 -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 Mon, 13 Feb 2023 03:32:21 -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; Mon, 13 Feb 2023 03:32:21 -0800",
            "from cavium-DT10.. (unknown [10.28.34.39])\n by maili.marvell.com (Postfix) with ESMTP id B20043F7070;\n Mon, 13 Feb 2023 03:32:18 -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=xw+LtTor40Fk4Np7WK1TjYNua3TQLClURwiXV/MN1X4=;\n b=jyu59tVfkQVayUsrHKCmxFTINfoMRhJHPTm8RPyVj9lEo+E+ZVOHGSX2n2vISmUG7h4f\n 0jk8GaaPc6qFLf/jbE8SPKa6pWVRd4h/m0Hg7FlYwwheQ5ycRbbLBJnazeIVAW/4YMTB\n /HX3VlEYv4dKaSiXW/lHPK7lFpequOaEZacx4qD9c9CJ5imV9VbB5XrfCuxK2uZpg39M\n y6vE76SVr+SYwQF38DFegV9eeAVJFjOzSLwmLxI/37R57Cd20e3niuhQkT5VjEl4C623\n dCFnpXUJP3ol9Z/w1+SApX7cJpeqegPxrca4HjvmPoYFmuejP6kYAdmH+U46iCx16Lz6 uA==",
        "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 v10 0/4] add support for self monitoring",
        "Date": "Mon, 13 Feb 2023 12:31:52 +0100",
        "Message-ID": "<20230213113156.385482-1-tduszynski@marvell.com>",
        "X-Mailer": "git-send-email 2.34.1",
        "In-Reply-To": "<20230202124951.2915770-1-tduszynski@marvell.com>",
        "References": "<20230202124951.2915770-1-tduszynski@marvell.com>",
        "MIME-Version": "1.0",
        "Content-Type": "text/plain; charset=\"UTF-8\"",
        "Content-Transfer-Encoding": "8bit",
        "X-Proofpoint-GUID": "Zp34_IVwW-0DqsAnhOS2aVlsUz3M0G_m",
        "X-Proofpoint-ORIG-GUID": "Zp34_IVwW-0DqsAnhOS2aVlsUz3M0G_m",
        "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-13_06,2023-02-13_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\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": [
        "v10",
        "0/4"
    ]
}