From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1) server-digest SHA256) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 72E60606A32C for ; Mon, 19 Oct 2026 16:45:29 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key, unprotected) header.d=lists.infradead.org header.i=@lists.infradead.org header.a=rsa-sha256 header.s=bombadil.20210309 header.b=2FGzx2Vx; dkim=pass (2048-bit key, unprotected) header.d=Nvidia.com header.i=@Nvidia.com header.a=rsa-sha256 header.s=selector2 header.b=Mx6sJIPJ DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:Content-Type: Content-Transfer-Encoding:MIME-Version:References:In-Reply-To:Message-ID:Date :Subject:CC:To:From:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=S5+YECRWm2kM+qQnCabcImaFCrJxGLEyr0xAg2QZCh0=; b=2FGzx2VxjWoG2cqFbsLGgsI8dC 45E6eLji3e9yB1xKHqTi6UOV3SkwZ9UV2hHXTxenJwWx3+isOBJm9H9zfbDr07CwywhAPwgdMri4r JpbPERs4jC9EDIIuT13L7MMJ0zI5cmH45vC8MvsVAUntq9cHe+4tEjkZj4GwEl+YTBdZFjmWTSEz8 HImlGwn0RhO6NwvrosGH4h188HSEwzYR981XFL5TrQlRigUE8qV+tXw8P9CsG896niMIfdKoR0sNd M/GMVy+VtP1sbOesNs1x1PNdb8GXsXZKEQMaMA7VYCbXNymcawK5Xb11zGsYHD/QW5siydNaojZQw ZrTzImdQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.99.1 #2 (Red Hat Linux)) id 1xIqU1-000000080jG-0yaf; Mon, 19 Oct 2026 16:45:09 +0000 Received: from mail-southcentralusazon11012007.outbound.protection.outlook.com ([40.93.195.7] helo=SN4PR2101CU001.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.99.1 #2 (Red Hat Linux)) id 1xIqTv-000000080f9-3HyO for linux-arm-kernel@lists.infradead.org; Mon, 19 Oct 2026 16:45:05 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=CqN/Tc/ghtRHxOftNmHz4qdscrp3P/w3SZYHDq8NtEeCVb5pUUTdl7XHUni7dRIrxpWGcFMp2o1lWAcaJ5MT2WnMxjgHiaCOq9L+44KBqM0/kO1K5qdDov44S43JiRf/wtUPWgJ9tupEd3vI4FFgAsWxjAhqxmrp+X/DDpztHRr9wQqk8aHNosvIoyUS6Jlko7rMQDyRpPxh098xsk6mWwSsYfQ9y6DMy166uioES7PtdCaQfmJ86MNFnZXzH6Yr5ZxJ4lrcBezKttu7SxIzD/ZXiFOecr0WtLbb03j2PFJ1jwhVnmTT/ih8S6wj4rXjh0Mk5f28nnj7lDZ3FGztGw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector10001; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=S5+YECRWm2kM+qQnCabcImaFCrJxGLEyr0xAg2QZCh0=; b=ZWq0odS6TVFK8utaRWO3Q/DdnYKctrkNIoTTZVhnvLPdO7JBSKtR00iK+o2bgVjDvPlY0/q6x+jVsSuEPhjX/HLSQMRVN/8Om+CB2Fo/Ag2pkQ7levjZVq+JssX1ihB8s6x3bJ/Iw3xvd/DauP+XtUjxC7H+C/Oi/oJRB7227uiPuUR1EyVTQ+fCIcFeuij8UyqoZ1e0yhbwLLxIos9yUwBUcrZNENINEvYVG0YF18cQpGaqiy9cuwHnvfHx97dDaGGwJKGCjvdQ76tWGclxicvTypI/07s0TNu1Bb68n98rfZYdTKrjeTA+90G4jFb0Hi4eb/Q8ikxR495iUaMxxA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 216.228.117.161) smtp.rcpttodomain=kernel.org smtp.mailfrom=nvidia.com; dmarc=pass (p=reject sp=reject pct=100) action=none header.from=nvidia.com; dkim=none (message not signed); arc=none (0) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=Nvidia.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=S5+YECRWm2kM+qQnCabcImaFCrJxGLEyr0xAg2QZCh0=; b=Mx6sJIPJtkP7BjaKiMKaNGlyGi2z48rvQarQxFaGwLLO5Xc0qORwLI6fH04dd0Gxnfh4Kcd5zwNL0o75BQlfY94JgfxGv8ynMeXFoQdP5nzSTxOVPCrSgCDiW17oYgFoGKJFJ5UEj19Opqkd/b5dSS6XyVbL8u3wuOoNw8snEwu+an231NCYP53GuLRTJwr8L3Zo4GjRE38NwPOwP19s45Ggn3CYXLKPstmk5rqHoZB9UlFNmvS0AvU94asMZTwSOSZs4zKNYYocIh4Pg6nsHHLlzoDuciMGTuqhns9QnTW8L5T1VfS6C4zE1oFGHvXMSq0D56AVi4FAvdHnyvNMtg== Received: from PH7PR03CA0008.namprd03.prod.outlook.com (2603:10b6:510:339::34) by PH0PR12MB8030.namprd12.prod.outlook.com (2603:10b6:510:28d::21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.21.522.19; Mon, 19 Oct 2026 16:44:52 +0000 Received: from PH3PEPF0005961D.namprd05.prod.outlook.com (2603:10b6:510:339:cafe::5b) by PH7PR03CA0008.outlook.office365.com (2603:10b6:510:339::34) with Microsoft SMTP Server (version=TLS1_3, cipher=TLS_AES_256_GCM_SHA384) id 15.21.522.4 via Frontend Transport; Mon, 19 Oct 2026 16:44:52 +0000 X-MS-Exchange-Authentication-Results: mx.microsoft.com 1; spf=pass (sender IP is 216.228.117.161) smtp.mailfrom=nvidia.com; dkim=none (message not signed) header.d=none;dmarc=pass action=none header.from=nvidia.com; Received-SPF: Pass (protection.outlook.com: domain of nvidia.com designates 216.228.117.161 as permitted sender) receiver=protection.outlook.com; client-ip=216.228.117.161; helo=mail.nvidia.com; pr=C Received: from mail.nvidia.com (216.228.117.161) by PH3PEPF0005961D.mail.protection.outlook.com (10.167.243.27) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.21.522.6 via Frontend Transport; Mon, 19 Oct 2026 16:44:52 +0000 Received: from rnnvmail203.nvidia.com (10.129.68.9) by mail.nvidia.com (10.129.200.67) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.2562.56; Mon, 19 Oct 2026 09:44:27 -0700 Received: from rnnvmail202.nvidia.com (10.129.68.7) by rnnvmail203.nvidia.com (10.129.68.9) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.2562.49; Mon, 19 Oct 2026 09:44:26 -0700 Received: from build-bwicaksono-noble-20260804.internal (10.127.8.11) by mail.nvidia.com (10.129.68.7) with Microsoft SMTP Server id 15.2.2562.49 via Frontend Transport; Mon, 19 Oct 2026 09:44:25 -0700 From: Besar Wicaksono To: , , CC: , , , , , , , , , , , , , , , , , , , , , "Besar Wicaksono" Subject: [PATCH 3/6] perf jevents: Add support for NVIDIA Tegra410 PCIE PMU aliasing Date: Mon, 19 Oct 2026 16:42:38 +0000 Message-ID: <20261019164241.403644-4-bwicaksono@nvidia.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20261019164241.403644-1-bwicaksono@nvidia.com> References: <20261019164241.403644-1-bwicaksono@nvidia.com> X-Archived-By: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-NV-OnPremToCloud: ExternallySecured X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: PH3PEPF0005961D:EE_|PH0PR12MB8030:EE_ X-MS-Office365-Filtering-Correlation-Id: e13d6f30-bd8c-4e8f-b76b-08df2e004c31 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230040|36860700016|82310400026|1800799024|23010399003|376014|7416014|261009223027099003|10067099003|56012099006|6133799003|18002099003|22082099003|11063799006; X-Microsoft-Antispam-Message-Info: e3EFRtDMIcXCwKOpvQ6pnBMz7baHqjS+SMV9/BbriYli9lRS+IHl5Di1biu0UGIeNo4Sy8Hfza4EjmcV6Dty/DHEAomc+K0vUkAf9MsuZpAtXy4xLBqJ+DSrJxGEv84GH827MTuvGIsNL7GvvCiZ7Si7+CIunUx49ZZzJ/p9ggyS/qdhqa3Mht7pfNttEc+z4WwECGzqdMIoDKkfiD33E9uZIbSzFlP++X06UMyJG/CEjkA2N/jgjbthkLBDO5u4wttMeHopzKfsUgVaN4sLZsWFTYYoMMhsKfCKMKK7iaI1oPjCf3XyWgEgzBT3k/iWWG4EibmiXg+xETlGhz91JX9fMNXlOKTC+2+2iJuwCGXqQMCdfVUffycHAOz0cTQkIjHwYe/43W7Q31aPF3XpKYvAW40MfQS3aAgfsNbjgIonJQrFmvmPiWDTHIKmBpCwE4LtEtrrbxlRAfVJ8xirBt4x2wq6Rnz8Ynhl5sOXqei+aP3h96R/98fwVqEIj/hw/8J+1mjmYdGhRBaxFfeo7DeSStWSL7Z/xHacX++m0xhQs0R9+XuFrKhhwzJ69rurUvm5bqPNm+BwZj1Go9CNHO+ZxiImdgCHRBXAkKE+kXAsl40O9F96CbzmUQKDqwILxKAoY4sTk7FQr0IQamFD1d1f5fSKQ3r9+3l7gwmNdHu41b5uW3l6myAb3lRXI68I5Wv+LZ6oe2ixs/a9AyO4og== X-Forefront-Antispam-Report: CIP:216.228.117.161;CTRY:US;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:mail.nvidia.com;PTR:dc6edge2.nvidia.com;CAT:NONE;SFS:(13230040)(36860700016)(82310400026)(1800799024)(23010399003)(376014)(7416014)(261009223027099003)(10067099003)(56012099006)(6133799003)(18002099003)(22082099003)(11063799006);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: tu6db+ipIgpB+0U3BpVT36a7XvQhacMnKzD7R7A3KtECfGqlMi08vY8lfb2yfOzKkvI3UDf33Kd9CXo79oE6OTgP0OmLuEngIu/zShCqPmT5DxIB4fqlnU1nHDSuh6VagML20+VcRLZWUanZNB0bh0ZxFX3+qw0pXGXf4o29RaZ9I0WdI3uizIFOL+5ikyWKlt6ED4h6gVNEPYUV+Ncpl7g/x0z5BVQJteBieK6uFrefubC2QF5LejLsebvKiHxK2QrVWZEzkzmvjmXyOL3zIE2JkGbaJgESnRy6THEjmoDgFAHOi0bju4uel6X+IPpDo1xDWmyYEgs1RrmXP5NFIK4tXqfB+8Fs/CX8vyv658Hzf+p4kILSRCz6JTvRsDaAGvfwukhWJEfZElfrAC++RutcC1mb5o0l20Ket0X0nzGSetdGRs7Z2s33kMxYjL7h X-OriginatorOrg: Nvidia.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 19 Oct 2026 16:44:52.1794 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: e13d6f30-bd8c-4e8f-b76b-08df2e004c31 X-MS-Exchange-CrossTenant-Id: 43083d15-7273-40c1-b7db-39efd9ccc17a X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=43083d15-7273-40c1-b7db-39efd9ccc17a;Ip=[216.228.117.161];Helo=[mail.nvidia.com] X-MS-Exchange-CrossTenant-AuthSource: PH3PEPF0005961D.namprd05.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: PH0PR12MB8030 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.9.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20261019_094503_914514_7EB4FB6C X-CRM114-Status: GOOD ( 13.59 ) X-Spam-Score: -2.4 (--) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" X-Spam-Status: No, score=-19.2 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF, HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER,INCLUDES_PATCH, MAILING_LIST_MULTI,RCVD_IN_DNSWL_BLOCKED,RCVD_IN_ZEN_BLOCKED_OPENDNS, SPF_HELO_NONE,SPF_PASS,USER_AGENT_GIT autolearn=ham autolearn_force=no version=4.0.1 X-Spam-Checker-Version: SpamAssassin 4.0.1 (2024-03-26) on aws-us-west-2-korg-listserv-alma10-1 Add alias support for NVIDIA Tegra410 PCIE PMU events and metrics. Signed-off-by: Besar Wicaksono --- .../arm64/nvidia/t410/sys/uncore-pcie.json | 247 ++++++++++++++++++ 1 file changed, 247 insertions(+) create mode 100644 tools/perf/pmu-events/arch/arm64/nvidia/t410/sys/uncore-pcie.json diff --git a/tools/perf/pmu-events/arch/arm64/nvidia/t410/sys/uncore-pcie.json b/tools/perf/pmu-events/arch/arm64/nvidia/t410/sys/uncore-pcie.json new file mode 100644 index 000000000000..37c3eac305e5 --- /dev/null +++ b/tools/perf/pmu-events/arch/arm64/nvidia/t410/sys/uncore-pcie.json @@ -0,0 +1,247 @@ +[ + { + "EventCode": "0x100000000", + "EventName": "PCIE_CYCLES", + "BriefDescription": "Counts cycles at the PCIe interface to the Tegra SoC data fabric.", + "PublicDescription": "Counts cycles at the PCIe interface to the Tegra SoC data fabric.", + "Compat": "1030136b", + "Unit": "nvidia_pcie_pmu_,rc_" + }, + { + "EventCode": "0x2", + "EventName": "PCIE_RD_REQ", + "BriefDescription": "Counts read requests from PCIe devices under this PCIe root complex to memory or another PCIe device.", + "PublicDescription": "Counts read requests from PCIe devices under this PCIe root complex to memory or another PCIe device, where the target responds with data. Request size can be from 1 to 256 bytes. Filters: src_rp_mask selects the requesting root ports. Alternatively, src_bdf with src_bdf_en selects one requesting device (BDF); it cannot be combined with src_rp_mask and applies to all counters of this PMU. Destination filters select the memory type of the request address: dst_loc_cmem local CMEM, dst_loc_gmem local GMEM, dst_loc_pcie_p2p local PCIe peer addresses, dst_loc_pcie_cxl local CXL memory, dst_rem remote memory. This is the address's home type, not where the data currently resides; local or remote is determined by the home socket of the address. An unset source filter counts all root ports; an unset destination filter counts all destinations.", + "Compat": "1030136b", + "Unit": "nvidia_pcie_pmu_,rc_" + }, + { + "EventCode": "0x3", + "EventName": "PCIE_WR_REQ", + "BriefDescription": "Counts write requests from PCIe devices under this PCIe root complex to memory or another PCIe device.", + "PublicDescription": "Counts write requests from PCIe devices under this PCIe root complex to memory or another PCIe device, where the PCIe device sends data. Request size can be from 1 to 256 bytes. Filters: src_rp_mask selects the requesting root ports. Alternatively, src_bdf with src_bdf_en selects one requesting device (BDF); it cannot be combined with src_rp_mask and applies to all counters of this PMU. Destination filters select the memory type of the request address: dst_loc_cmem local CMEM, dst_loc_gmem local GMEM, dst_loc_pcie_p2p local PCIe peer addresses, dst_loc_pcie_cxl local CXL memory, dst_rem remote memory. This is the address's home type, not where the data currently resides; local or remote is determined by the home socket of the address. An unset source filter counts all root ports; an unset destination filter counts all destinations.", + "Compat": "1030136b", + "Unit": "nvidia_pcie_pmu_,rc_" + }, + { + "EventCode": "0x0", + "EventName": "PCIE_RD_BYTES", + "BriefDescription": "Counts bytes transferred by the read requests counted by PCIE_RD_REQ.", + "PublicDescription": "Counts bytes transferred by the read requests counted by PCIE_RD_REQ. Source and destination filters work as described for PCIE_RD_REQ.", + "Compat": "1030136b", + "Unit": "nvidia_pcie_pmu_,rc_" + }, + { + "EventCode": "0x1", + "EventName": "PCIE_WR_BYTES", + "BriefDescription": "Counts bytes transferred by the write requests counted by PCIE_WR_REQ.", + "PublicDescription": "Counts bytes transferred by the write requests counted by PCIE_WR_REQ. Source and destination filters work as described for PCIE_WR_REQ.", + "Compat": "1030136b", + "Unit": "nvidia_pcie_pmu_,rc_" + }, + { + "EventCode": "0x4", + "EventName": "PCIE_RD_CUM_OUTS", + "BriefDescription": "Accumulates the outstanding read requests counted by PCIE_RD_REQ each cycle at the PCIe interface.", + "PublicDescription": "Accumulates the outstanding read requests counted by PCIE_RD_REQ each cycle at the PCIe interface. Pair the two under the same filters for the average read latency. Source and destination filters work as described for PCIE_RD_REQ.", + "Compat": "1030136b", + "Unit": "nvidia_pcie_pmu_,rc_" + }, + { + "MetricName": "pcie_freq", + "MetricGroup": "PCIE_Frequency;PCIE_Read_Latency", + "MetricConstraint": "NO_GROUP_EVENTS", + "MetricExpr": "(PCIE_CYCLES / aggr_nr(PCIE_CYCLES)) / 1e9 / duration_time", + "ScaleUnit": "1GHz", + "BriefDescription": "Frequency of the cycles at the PCIe interface to the Tegra SoC data fabric.", + "PublicDescription": "Average frequency of the cycles at the PCIe interface to the Tegra SoC data fabric over the measurement interval.", + "Compat": "1030136b", + "Unit": "nvidia_pcie_pmu_,rc_" + }, + { + "MetricName": "pcie_avg_rd_bandwidth_to_all_dst", + "MetricGroup": "PCIE_Bandwidth;PCIE_To_All_Destinations", + "MetricExpr": "PCIE_RD_BYTES@dst_loc_cmem=1,dst_loc_gmem=1,dst_loc_pcie_p2p=1,dst_loc_pcie_cxl=1,dst_rem=1@ / 1e6 / duration_time", + "ScaleUnit": "1MB/s", + "BriefDescription": "Average read bandwidth from PCIe devices under this PCIe root complex to all destinations.", + "PublicDescription": "Average read bandwidth of requests from all PCIe devices under this PCIe root complex to all destinations: local CMEM, local GMEM, local PCIe peer addresses, local CXL memory and remote memory.", + "Compat": "1030136b", + "Unit": "nvidia_pcie_pmu_,rc_" + }, + { + "MetricName": "pcie_avg_wr_bandwidth_to_all_dst", + "MetricGroup": "PCIE_Bandwidth;PCIE_To_All_Destinations", + "MetricExpr": "PCIE_WR_BYTES@dst_loc_cmem=1,dst_loc_gmem=1,dst_loc_pcie_p2p=1,dst_loc_pcie_cxl=1,dst_rem=1@ / 1e6 / duration_time", + "ScaleUnit": "1MB/s", + "BriefDescription": "Average write bandwidth from PCIe devices under this PCIe root complex to all destinations.", + "PublicDescription": "Average write bandwidth of requests from all PCIe devices under this PCIe root complex to all destinations: local CMEM, local GMEM, local PCIe peer addresses, local CXL memory and remote memory.", + "Compat": "1030136b", + "Unit": "nvidia_pcie_pmu_,rc_" + }, + { + "MetricName": "pcie_avg_rd_latency_to_all_dst", + "MetricGroup": "PCIE_Read_Latency;PCIE_To_All_Destinations", + "MetricConstraint": "NO_GROUP_EVENTS", + "MetricExpr": "(PCIE_RD_CUM_OUTS@dst_loc_cmem=1,dst_loc_gmem=1,dst_loc_pcie_p2p=1,dst_loc_pcie_cxl=1,dst_rem=1@ / PCIE_RD_REQ@dst_loc_cmem=1,dst_loc_gmem=1,dst_loc_pcie_p2p=1,dst_loc_pcie_cxl=1,dst_rem=1@) / pcie_freq", + "ScaleUnit": "1ns/request", + "BriefDescription": "Average read latency from PCIe devices under this PCIe root complex to all destinations.", + "PublicDescription": "Average latency of read requests from all PCIe devices under this PCIe root complex to all destinations: local CMEM, local GMEM, local PCIe peer addresses, local CXL memory and remote memory.", + "Compat": "1030136b", + "Unit": "nvidia_pcie_pmu_,rc_" + }, + { + "MetricName": "pcie_avg_rd_bandwidth_to_local_cmem", + "MetricGroup": "PCIE_Bandwidth;PCIE_Read;PCIE_To_Local_CMEM", + "MetricExpr": "PCIE_RD_BYTES@dst_loc_cmem=1@ / 1e6 / duration_time", + "ScaleUnit": "1MB/s", + "BriefDescription": "Average read bandwidth from PCIe devices under this PCIe root complex to local CMEM.", + "PublicDescription": "Average read bandwidth of requests from all PCIe devices under this PCIe root complex to local CMEM.", + "Compat": "1030136b", + "Unit": "nvidia_pcie_pmu_,rc_" + }, + { + "MetricName": "pcie_avg_wr_bandwidth_to_local_cmem", + "MetricGroup": "PCIE_Bandwidth;PCIE_Write;PCIE_To_Local_CMEM", + "MetricExpr": "PCIE_WR_BYTES@dst_loc_cmem=1@ / 1e6 / duration_time", + "ScaleUnit": "1MB/s", + "BriefDescription": "Average write bandwidth from PCIe devices under this PCIe root complex to local CMEM.", + "PublicDescription": "Average write bandwidth of requests from all PCIe devices under this PCIe root complex to local CMEM.", + "Compat": "1030136b", + "Unit": "nvidia_pcie_pmu_,rc_" + }, + { + "MetricName": "pcie_avg_rd_latency_to_local_cmem", + "MetricGroup": "PCIE_Read_Latency;PCIE_Read;PCIE_To_Local_CMEM", + "MetricConstraint": "NO_GROUP_EVENTS", + "MetricExpr": "(PCIE_RD_CUM_OUTS@dst_loc_cmem=1@ / PCIE_RD_REQ@dst_loc_cmem=1@) / pcie_freq", + "ScaleUnit": "1ns/request", + "BriefDescription": "Average read latency from PCIe devices under this PCIe root complex to local CMEM.", + "PublicDescription": "Average latency of read requests from all PCIe devices under this PCIe root complex to local CMEM.", + "Compat": "1030136b", + "Unit": "nvidia_pcie_pmu_,rc_" + }, + { + "MetricName": "pcie_avg_rd_bandwidth_to_local_gmem", + "MetricGroup": "PCIE_Bandwidth;PCIE_Read;PCIE_To_Local_GMEM", + "MetricExpr": "PCIE_RD_BYTES@dst_loc_gmem=1@ / 1e6 / duration_time", + "ScaleUnit": "1MB/s", + "BriefDescription": "Average read bandwidth from PCIe devices under this PCIe root complex to local GMEM.", + "PublicDescription": "Average read bandwidth of requests from all PCIe devices under this PCIe root complex to local GMEM.", + "Compat": "1030136b", + "Unit": "nvidia_pcie_pmu_,rc_" + }, + { + "MetricName": "pcie_avg_wr_bandwidth_to_local_gmem", + "MetricGroup": "PCIE_Bandwidth;PCIE_Write;PCIE_To_Local_GMEM", + "MetricExpr": "PCIE_WR_BYTES@dst_loc_gmem=1@ / 1e6 / duration_time", + "ScaleUnit": "1MB/s", + "BriefDescription": "Average write bandwidth from PCIe devices under this PCIe root complex to local GMEM.", + "PublicDescription": "Average write bandwidth of requests from all PCIe devices under this PCIe root complex to local GMEM.", + "Compat": "1030136b", + "Unit": "nvidia_pcie_pmu_,rc_" + }, + { + "MetricName": "pcie_avg_rd_latency_to_local_gmem", + "MetricGroup": "PCIE_Read_Latency;PCIE_Read;PCIE_To_Local_GMEM", + "MetricConstraint": "NO_GROUP_EVENTS", + "MetricExpr": "(PCIE_RD_CUM_OUTS@dst_loc_gmem=1@ / PCIE_RD_REQ@dst_loc_gmem=1@) / pcie_freq", + "ScaleUnit": "1ns/request", + "BriefDescription": "Average read latency from PCIe devices under this PCIe root complex to local GMEM.", + "PublicDescription": "Average latency of read requests from all PCIe devices under this PCIe root complex to local GMEM.", + "Compat": "1030136b", + "Unit": "nvidia_pcie_pmu_,rc_" + }, + { + "MetricName": "pcie_avg_rd_bandwidth_to_local_cxlmem", + "MetricGroup": "PCIE_Bandwidth;PCIE_Read;PCIE_To_Local_CXLMEM", + "MetricExpr": "PCIE_RD_BYTES@dst_loc_pcie_cxl=1@ / 1e6 / duration_time", + "ScaleUnit": "1MB/s", + "BriefDescription": "Average read bandwidth from PCIe devices under this PCIe root complex to local CXL memory.", + "PublicDescription": "Average read bandwidth of requests from all PCIe devices under this PCIe root complex to local CXL memory.", + "Compat": "1030136b", + "Unit": "nvidia_pcie_pmu_,rc_" + }, + { + "MetricName": "pcie_avg_wr_bandwidth_to_local_cxlmem", + "MetricGroup": "PCIE_Bandwidth;PCIE_Write;PCIE_To_Local_CXLMEM", + "MetricExpr": "PCIE_WR_BYTES@dst_loc_pcie_cxl=1@ / 1e6 / duration_time", + "ScaleUnit": "1MB/s", + "BriefDescription": "Average write bandwidth from PCIe devices under this PCIe root complex to local CXL memory.", + "PublicDescription": "Average write bandwidth of requests from all PCIe devices under this PCIe root complex to local CXL memory.", + "Compat": "1030136b", + "Unit": "nvidia_pcie_pmu_,rc_" + }, + { + "MetricName": "pcie_avg_rd_latency_to_local_cxlmem", + "MetricGroup": "PCIE_Read_Latency;PCIE_Read;PCIE_To_Local_CXLMEM", + "MetricConstraint": "NO_GROUP_EVENTS", + "MetricExpr": "(PCIE_RD_CUM_OUTS@dst_loc_pcie_cxl=1@ / PCIE_RD_REQ@dst_loc_pcie_cxl=1@) / pcie_freq", + "ScaleUnit": "1ns/request", + "BriefDescription": "Average read latency from PCIe devices under this PCIe root complex to local CXL memory.", + "PublicDescription": "Average latency of read requests from all PCIe devices under this PCIe root complex to local CXL memory.", + "Compat": "1030136b", + "Unit": "nvidia_pcie_pmu_,rc_" + }, + { + "MetricName": "pcie_avg_rd_bandwidth_to_remote_mem", + "MetricGroup": "PCIE_Bandwidth;PCIE_Read;PCIE_To_Remote_Memory", + "MetricExpr": "PCIE_RD_BYTES@dst_rem=1@ / 1e6 / duration_time", + "ScaleUnit": "1MB/s", + "BriefDescription": "Average read bandwidth from PCIe devices under this PCIe root complex to remote memory.", + "PublicDescription": "Average read bandwidth of requests from all PCIe devices under this PCIe root complex to remote memory.", + "Compat": "1030136b", + "Unit": "nvidia_pcie_pmu_,rc_" + }, + { + "MetricName": "pcie_avg_wr_bandwidth_to_remote_mem", + "MetricGroup": "PCIE_Bandwidth;PCIE_Write;PCIE_To_Remote_Memory", + "MetricExpr": "PCIE_WR_BYTES@dst_rem=1@ / 1e6 / duration_time", + "ScaleUnit": "1MB/s", + "BriefDescription": "Average write bandwidth from PCIe devices under this PCIe root complex to remote memory.", + "PublicDescription": "Average write bandwidth of requests from all PCIe devices under this PCIe root complex to remote memory.", + "Compat": "1030136b", + "Unit": "nvidia_pcie_pmu_,rc_" + }, + { + "MetricName": "pcie_avg_rd_latency_to_remote_mem", + "MetricGroup": "PCIE_Read_Latency;PCIE_Read;PCIE_To_Remote_Memory", + "MetricConstraint": "NO_GROUP_EVENTS", + "MetricExpr": "(PCIE_RD_CUM_OUTS@dst_rem=1@ / PCIE_RD_REQ@dst_rem=1@) / pcie_freq", + "ScaleUnit": "1ns/request", + "BriefDescription": "Average read latency from PCIe devices under this PCIe root complex to remote memory.", + "PublicDescription": "Average latency of read requests from all PCIe devices under this PCIe root complex to remote memory.", + "Compat": "1030136b", + "Unit": "nvidia_pcie_pmu_,rc_" + }, + { + "MetricName": "pcie_avg_rd_bandwidth_to_local_pcie_peer", + "MetricGroup": "PCIE_Bandwidth;PCIE_Read;PCIE_To_Local_PCIE_Peer", + "MetricExpr": "PCIE_RD_BYTES@dst_loc_pcie_p2p=1@ / 1e6 / duration_time", + "ScaleUnit": "1MB/s", + "BriefDescription": "Average read bandwidth from PCIe devices under this PCIe root complex to local PCIe peer addresses.", + "PublicDescription": "Average read bandwidth of requests from all PCIe devices under this PCIe root complex to local PCIe peer addresses.", + "Compat": "1030136b", + "Unit": "nvidia_pcie_pmu_,rc_" + }, + { + "MetricName": "pcie_avg_wr_bandwidth_to_local_pcie_peer", + "MetricGroup": "PCIE_Bandwidth;PCIE_Write;PCIE_To_Local_PCIE_Peer", + "MetricExpr": "PCIE_WR_BYTES@dst_loc_pcie_p2p=1@ / 1e6 / duration_time", + "ScaleUnit": "1MB/s", + "BriefDescription": "Average write bandwidth from PCIe devices under this PCIe root complex to local PCIe peer addresses.", + "PublicDescription": "Average write bandwidth of requests from all PCIe devices under this PCIe root complex to local PCIe peer addresses.", + "Compat": "1030136b", + "Unit": "nvidia_pcie_pmu_,rc_" + }, + { + "MetricName": "pcie_avg_rd_latency_to_local_pcie_peer", + "MetricGroup": "PCIE_Read_Latency;PCIE_Read;PCIE_To_Local_PCIE_Peer", + "MetricConstraint": "NO_GROUP_EVENTS", + "MetricExpr": "(PCIE_RD_CUM_OUTS@dst_loc_pcie_p2p=1@ / PCIE_RD_REQ@dst_loc_pcie_p2p=1@) / pcie_freq", + "ScaleUnit": "1ns/request", + "BriefDescription": "Average read latency from PCIe devices under this PCIe root complex to local PCIe peer addresses.", + "PublicDescription": "Average latency of read requests from all PCIe devices under this PCIe root complex to local PCIe peer addresses.", + "Compat": "1030136b", + "Unit": "nvidia_pcie_pmu_,rc_" + } +] -- 2.43.0