From patchwork Mon Jan 25 08:59:24 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Joakim Zhang X-Patchwork-Id: 12043103 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-17.0 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, INCLUDES_PATCH,MAILING_LIST_MULTI,MSGID_FROM_MTA_HEADER,SPF_HELO_NONE, SPF_PASS,URIBL_BLOCKED,USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 44B10C433DB for ; Mon, 25 Jan 2021 09:01:52 +0000 (UTC) Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id D8A8722E03 for ; Mon, 25 Jan 2021 09:01:51 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org D8A8722E03 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=nxp.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=merlin.20170209; h=Sender:Content-Transfer-Encoding: Content-Type:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To:Message-Id:Date: Subject:To:From:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=lELM9nrMOV4bL6vh/OQkfln+1ETc/i0GXg3U0ab2ikI=; b=o7gKKSrF6DXpP2DVjdO3btAGa aG44ZnU2z/aJwtKy6E8/gAcnkdx0Ped3hXaxUvNoTnQYhHc2raXD3/x7EflizwjfHN6jllK2Pr3WA pGMUt/ujfRq0MkVBNQXsuVqMInlfoanBLm+fW5pOFhZ5QQXmdxxCW/HL4vIe3vRABOenp25xoNiYn 6HVhWrp9E8WMdoX3bsd49MQozssUE5ANOQNzi+xHZc5+NQPIU3KfXfM/j5S90YICJysHGT3lotfJ0 0FmJ2vjVWbFab+rqtgcog1zczbOw2tvTWn1IqsQBDxFE/sZmiAX7YDwa1+VAHXmAsItL6vyUqONhS He8W/UIWQ==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1l3xjN-0005w5-6j; Mon, 25 Jan 2021 09:00:17 +0000 Received: from mail-eopbgr150049.outbound.protection.outlook.com ([40.107.15.49] helo=EUR01-DB5-obe.outbound.protection.outlook.com) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1l3xjJ-0005ud-S8 for linux-arm-kernel@lists.infradead.org; Mon, 25 Jan 2021 09:00:14 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=FCU2PA/S3Sw285K4lxoOmQ7hhixzeyCPI5jRG065ZrOY/JAHJUusCsxEVHowk+kzzkQWU6P/ZIQnx67amH7bW16QQTYK2J9wvEyC9dwvWbR62wf7V/fODsqT6hF9JdStG7VuPcFJG+jLws6q6y5R7ghfykaECjvThltcvGaxE4TqoUqEjcGwLvHDbtqjz85bBkEzpz5oI0iys4hHbWPdJHnAP4IJtRRgGbvkmCkjG/jpFX3sPwAQCl69OXqohpptW6eScClWZ/mB9xyKkkGua+i1PZs+Sjn4jJOCIhvCL9NutV3LOUSJ18TxwvMjiBOXwzXaS3Xn1twbkhS4XJq2tA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=VT9m9cF0Kc0jm3bqJhb/OVvJufFPLtY58gbuDBTQaGA=; b=dFrZJ0I+GQ12lI9HLUrLdGCvq7u1GAhk6iZCl71PsgAFwIhl8pxBsdGo+Oq6A651QZ3f3QkjWmZe+S5kQqhbZDKldoegBBMBEUlDBWw6O3jt9KJnFDA8mbypRhc2Yi8tiVHCSwA8PxN/uU8prMvrTjnWW2LQkLBs9Db5lDxJU/gnc7bnXWBO4PTs4n87jKs/I0tGVjr0YuRPpx3dSq3LtnVdYIcRnn3fnTnf3u3lqdP8GiTXknG4yyBKklM8wxdmSgQnb94DBOUHDi9IeXcW6cnkrcLo3Kx2qUd+McY64j+J7CS/5WHBTk0QLdHcmdUTgCRnSfxEBtS5mOBBsrZYnw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=nxp.com; dmarc=pass action=none header.from=nxp.com; dkim=pass header.d=nxp.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nxp.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=VT9m9cF0Kc0jm3bqJhb/OVvJufFPLtY58gbuDBTQaGA=; b=IM+2seIjfjxLpXqigPs2PUywfESGrgbjiou/Dg+jc63JLgwqc/ou0cZfDuPYonlAHB8f3q87Pw27mX/S8V/iGK3vlGvJ816ONEUx1a7XnqRWvO+eChn5GxdhT65uIRwPZDmUzS7wzb0BdWgcPoxkhUdtydfPA4yWHwf8SbcmEkE= Authentication-Results: huawei.com; dkim=none (message not signed) header.d=none;huawei.com; dmarc=none action=none header.from=nxp.com; Received: from DB8PR04MB6795.eurprd04.prod.outlook.com (2603:10a6:10:fa::15) by DBAPR04MB7366.eurprd04.prod.outlook.com (2603:10a6:10:1a0::23) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3784.12; Mon, 25 Jan 2021 09:00:10 +0000 Received: from DB8PR04MB6795.eurprd04.prod.outlook.com ([fe80::9d2b:182e:ba3b:5920]) by DB8PR04MB6795.eurprd04.prod.outlook.com ([fe80::9d2b:182e:ba3b:5920%4]) with mapi id 15.20.3784.016; Mon, 25 Jan 2021 09:00:10 +0000 From: Joakim Zhang To: john.garry@huawei.com, acme@kernel.org, jolsa@redhat.com Subject: [PATCH V2 1/4] perf vendor events: Fix indentation of brackets in imx8mm metrics Date: Mon, 25 Jan 2021 16:59:24 +0800 Message-Id: <20210125085927.27322-2-qiangqing.zhang@nxp.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20210125085927.27322-1-qiangqing.zhang@nxp.com> References: <20210125085927.27322-1-qiangqing.zhang@nxp.com> X-Originating-IP: [119.31.174.71] X-ClientProxiedBy: SG2PR01CA0135.apcprd01.prod.exchangelabs.com (2603:1096:4:8f::15) To DB8PR04MB6795.eurprd04.prod.outlook.com (2603:10a6:10:fa::15) MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 Received: from localhost.localdomain (119.31.174.71) by SG2PR01CA0135.apcprd01.prod.exchangelabs.com (2603:1096:4:8f::15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3784.11 via Frontend Transport; Mon, 25 Jan 2021 09:00:07 +0000 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-HT: Tenant X-MS-Office365-Filtering-Correlation-Id: 17ab72b5-5dda-4af9-35d2-08d8c10f9e9f X-MS-TrafficTypeDiagnostic: DBAPR04MB7366: X-MS-Exchange-Transport-Forked: True X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:923; X-MS-Exchange-SenderADCheck: 1 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: W5Z4cnaPx37enmTKOGMjAuMhFYL4PuAo/tAxi3McGsTtFov/tw/+G12X5aKLz9B4tn2wO7yiwEKczw5+17ZxFaOZfsML6NhMraZucU2XKGlydUBTmv/58J+L3QVmucHdq2Mek/8PH1cQbjud4vXdjtfZjavLi/aTgXuP8EjWiQzHe3OJEmJ3nDEokMSAm4Hep3xMI9kNNn4X1oZbMmRNSTUwvzcmKnkqsAbikQP1ow+UULoONN2365u17JpMceb38HxRTM5vj91u2vwVpyuhx9qHAlZByd36fV/hEAFV/qqwFhwUxvVmX2TvHUJzY/7SFqzQ5PccFvygi1aywivGiAg6CTlRtTW282jPULmmbmwmMFq3AMXbAdSzBTLpo0/qpRgERv0Omb5bYsauzKRiHB5Y2/Py/YicxAESz3pDZR89STDTbpHz8CEmoaFweN5cCEzhfBSXRvtHJAhByT7RTKENEIFABH/EQbsQP+RW8QE= X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:DB8PR04MB6795.eurprd04.prod.outlook.com; PTR:; CAT:NONE; SFS:(4636009)(366004)(346002)(396003)(376002)(136003)(39860400002)(956004)(2616005)(36756003)(52116002)(86362001)(2906002)(6506007)(6666004)(6486002)(6512007)(66946007)(5660300002)(8676002)(1076003)(316002)(4744005)(478600001)(16526019)(66556008)(66476007)(186003)(8936002)(26005)(69590400011)(4326008)(83380400001)(32563001); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData: JJRjROUXS2BZxYxVwh3aZ9J1jbL+dGrzj4x/J2GEq5fQ1z75VOvzjvDt/UzduthM7INMwvFV6wgKQ35MazMB5Kqu7SDZaF+EAPunjdB3QjHBZLJEyyR+gxVdvYpkMaPJJdsTMO4k6HO7AjwvDMVgqV6ofKch6D7gG2drCUykC4goPiylGIOIuswkCxBVSlQUqoehfroNJhnZhVgcHBIewSip/KLC0Q3rD90QS2UiGMrSId/2gVFLPpSHvR94g7SgjBBGrYyFtbgtnEPvAkr6pf3r/Y5DnJ5ntZTwB8m+QzbWl4lRGtfAQBpzoa2zX1x8CTsxIGfTIlAZeNNAObn/CvynppxcvHDwhsqK8x6NamPJBL/kGTpZmJZxe/YaakHLk+gvdkhgDOeB5hN13VpeM1vfaGhcZSjYfEsvunvOnEcYeYVTQhvIx4gARFKz4/ehCAxJxFIhIHmISenz436KibRHYvLjHv/5OKklQ0ebB3gdaqHCJk+X1KA4/NFLnAGBSBUCmPyjWqJ8PFKE9b1WCvuXgwGxyZ30Itb5R8qG6lT4tj5RmYfvoLiyzjRO9ffaIeHHu+de3fLhWRKEWp8JhhpSKvvDEJxgCS+euH7t00q9kkL2v+KdrVO7EycBPWMZ21cBZOXVI9jf7rSnD427FCAcKmc3wQOyHzFtc6cjA5weTpdAAPdxAPVcfOzXo9kDxF32iAuA0xjXlM9noCfi84TRHy0L8MVLD1u6NEEWd/9Yy1rVtbuHO137iOboogpdKbIxr2UkFd1+2zOkQktkDpN5fftslVdj/a5c20868JmSiP5eHw7iITQPTq7dqBg9LG3H8AvezKVEoFoW3kIt3dOmrcH8thb88fYODfgAnPsWLMbbigbFpouDLdLUrmmahGG99opdWRr6df9gMp1hD55iUOJX17nlKsEVB3r7iUObRquOju/RO2xaI1JweO2n2OMtlCcduwqN+yUe5vKaWqJXIYXskKh3E/rlz0kfmIMo3AHh0Dv0+fmkcHWcP+lzX2ZMnipw7Mn6e907dXBp3KmNxmTLgBPd0pu1oltT4HN6Q73NAcoRnWBUZqAuYJCg X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 17ab72b5-5dda-4af9-35d2-08d8c10f9e9f X-MS-Exchange-CrossTenant-AuthSource: DB8PR04MB6795.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 25 Jan 2021 09:00:10.6194 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: UoZCqIM8IymXHKTyzveUZ/nh17Swa7je3OQuSf4nRU6CKVvaVQAIYdzySFE1ypeUFCkcRjV+tqGKf5szwS0DRQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DBAPR04MB7366 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210125_040013_920418_5956E426 X-CRM114-Status: GOOD ( 12.09 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: linux-perf-users@vger.kernel.org, mark.rutland@arm.com, will@kernel.org, linux-imx@nxp.com, linux-arm-kernel@lists.infradead.org Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Fix indentation of brackets in imx8mm metrics. Signed-off-by: Joakim Zhang --- .../pmu-events/arch/arm64/freescale/imx8mm/sys/metrics.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tools/perf/pmu-events/arch/arm64/freescale/imx8mm/sys/metrics.json b/tools/perf/pmu-events/arch/arm64/freescale/imx8mm/sys/metrics.json index 8e553b67cae6..f416fa052337 100644 --- a/tools/perf/pmu-events/arch/arm64/freescale/imx8mm/sys/metrics.json +++ b/tools/perf/pmu-events/arch/arm64/freescale/imx8mm/sys/metrics.json @@ -6,7 +6,7 @@ "ScaleUnit": "9.765625e-4KB", "Unit": "imx8_ddr", "Compat": "i.MX8MM" - }, + }, { "BriefDescription": "bytes all masters write to ddr based on write-cycles event", "MetricName": "imx8mm_ddr_write.all", @@ -14,5 +14,5 @@ "ScaleUnit": "9.765625e-4KB", "Unit": "imx8_ddr", "Compat": "i.MX8MM" - } + } ] From patchwork Mon Jan 25 08:59:25 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Joakim Zhang X-Patchwork-Id: 12043107 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-17.0 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, INCLUDES_PATCH,MAILING_LIST_MULTI,MSGID_FROM_MTA_HEADER,SPF_HELO_NONE, SPF_PASS,URIBL_BLOCKED,USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id C8C8DC433E6 for ; Mon, 25 Jan 2021 09:01:55 +0000 (UTC) Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 7495E22EBF for ; Mon, 25 Jan 2021 09:01:55 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 7495E22EBF Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=nxp.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=merlin.20170209; h=Sender:Content-Transfer-Encoding: Content-Type:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To:Message-Id:Date: Subject:To:From:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=oGDrJl5SEY0qUMMrWvsrikhOfHyWHXIkCkwvEENQKtY=; b=VYfOwJNjAjK5v+cZyh2JI/z48 qcCR/RFHZMHNPtr7JFW92VpVRRsMbT7NyO8StQnmr7ji+Dc/lIWQP+kad1stmGhww8r2X0E8KutxZ H57o/RMWAGYIRONGTyFy2G7UCYUVKXef3OSqBxQXSQxVADbTIdt4/oruTf7TpNtS3xciHURNdmyAE ZD+EBDqljIBtBmwUo7LY9JaTxxE1S71Cfq40AhWowzuq353qWJoFUAPi3dzPeBnMd+1v0vnx0ycWr BjnifSVtJ18bxWzOBBNSn+789aialxLps5GdsAPyytiIj5gG53UpC3yE+YvcCjRpUy+u5dHwHCXhZ AbL5akYWw==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1l3xjT-0005xB-Q5; Mon, 25 Jan 2021 09:00:25 +0000 Received: from mail-eopbgr150049.outbound.protection.outlook.com ([40.107.15.49] helo=EUR01-DB5-obe.outbound.protection.outlook.com) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1l3xjK-0005ud-OU for linux-arm-kernel@lists.infradead.org; Mon, 25 Jan 2021 09:00:15 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=LJlaq/Jam+XfDFLfIw/JBhnGln5b/LfJXbm7AjG+hi+LEXLtrQbiK7xww4/xY9R1D/vuutuH5RzkO01PQqxJ5xUU3fvb9F4C16+7P2ss9+evJQNcSYDF8pCYN5DHVRahrR+c8TI4OOY8RaBLsiZPwrUrYt+UIc3ahPLfLlRMSgbb1NooIfdrwg4khdqhE7C/9XcVN1XT7pxc6eeX6EhkM9IatGQT09sGDEjIjs5i53iI+l67iKTuIWOdxBPd/SHskt5lxDtoi4HCbfcgsDetI/dei2V8rhlwJ8uHOn4ZFnGxz0g1cXAntHGJAE4DaCnfe1yqxEXHhavC1wZSoqL6pw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=g3F7j9sr75mtrlnzrgG/sVqRSxCLXmOLum8l1RirD3A=; b=LMPYogrLAlMvimo/RvuhLRYOcGAdHH6U4CPdFCsDe+NSk/wWInVEAGtAGGpUhYqyHFe5vKq5XiaKV2Q4wKJX4RTWE1oxnTg4j55JJsLG16RkSwUPnx9FkNgIvdQqslUJ9V1xs4SK194zwt6twaHyaQjoLipPeCF0POm/ueRlOexgjXTXNWMa1HzJewxaEbh9epUDGeg6JA6MOsUO6I+m6+lxMzv1BQ9eWgS5iyBLkV9qan5IfENyZpVbE72qtJE1NPnQJMfdF5n0xFdjJ5w94az/6QPksUDbUBCIA/fhh8ewhxha/9ktwcF9TC75yNq91TuP8hLvlz/tPdmHITNRTQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=nxp.com; dmarc=pass action=none header.from=nxp.com; dkim=pass header.d=nxp.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nxp.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=g3F7j9sr75mtrlnzrgG/sVqRSxCLXmOLum8l1RirD3A=; b=QmpPmW87OWaYOPZiwpRO0aHcb/RoQDNo32NX4KeMrJ0aGfpS7FoumLFKbvWHh0Wo2/6CU1Q9irFBgUo4MewaLYFlXhMTE5/ktg5eMBwAyN4T4pNLHzFPcmRI77T+LfBX/6+ECMp3mQfZCN+1Q4WzP14LWrd9n+yt0onmHUGLHTc= Authentication-Results: huawei.com; dkim=none (message not signed) header.d=none;huawei.com; dmarc=none action=none header.from=nxp.com; Received: from DB8PR04MB6795.eurprd04.prod.outlook.com (2603:10a6:10:fa::15) by DBAPR04MB7366.eurprd04.prod.outlook.com (2603:10a6:10:1a0::23) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3784.12; Mon, 25 Jan 2021 09:00:13 +0000 Received: from DB8PR04MB6795.eurprd04.prod.outlook.com ([fe80::9d2b:182e:ba3b:5920]) by DB8PR04MB6795.eurprd04.prod.outlook.com ([fe80::9d2b:182e:ba3b:5920%4]) with mapi id 15.20.3784.016; Mon, 25 Jan 2021 09:00:13 +0000 From: Joakim Zhang To: john.garry@huawei.com, acme@kernel.org, jolsa@redhat.com Subject: [PATCH V2 2/4] perf vendor events: Add JSON metrics for imx8mn DDR Perf Date: Mon, 25 Jan 2021 16:59:25 +0800 Message-Id: <20210125085927.27322-3-qiangqing.zhang@nxp.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20210125085927.27322-1-qiangqing.zhang@nxp.com> References: <20210125085927.27322-1-qiangqing.zhang@nxp.com> X-Originating-IP: [119.31.174.71] X-ClientProxiedBy: SG2PR01CA0135.apcprd01.prod.exchangelabs.com (2603:1096:4:8f::15) To DB8PR04MB6795.eurprd04.prod.outlook.com (2603:10a6:10:fa::15) MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 Received: from localhost.localdomain (119.31.174.71) by SG2PR01CA0135.apcprd01.prod.exchangelabs.com (2603:1096:4:8f::15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3784.11 via Frontend Transport; Mon, 25 Jan 2021 09:00:11 +0000 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-HT: Tenant X-MS-Office365-Filtering-Correlation-Id: a3c323b5-bccf-472d-fa4c-08d8c10fa0a2 X-MS-TrafficTypeDiagnostic: DBAPR04MB7366: X-MS-Exchange-Transport-Forked: True X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:1247; X-MS-Exchange-SenderADCheck: 1 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: XLSjxT+Lyj6gh0rlsqVMhEtPBCBVK+Ch8QjPhQwcAFWzhvLB2HHdVVV5czXungCYbb5GqabIiPE0nSiFuL5adjRSCV8Sdxx2Em16C/RIEg4TnnJBFyVN7RR1BHFr7g/1VPQYVJLHoxbhNV/x8rOKsglrgpKw+5GL/f/l2fDIq4PSF1eaWQVfGwiigyz0kAmNqKbeifbYEFT7NBIEDeumxEOtuyRxQvo9MUJvk9LjXgg42D4DaoWM+qBNOMQnAMPMI6AnfW/beLaO9u7H543hbhryzHX2ots3N9chKm8ENvuuCe/UJifZyOkEzrJLn5tGl5PmH3nT2vuVSh56rW57TOA1hOC/kSzwsrRZmUrE5vCiGVvR0fJ8Z9MQhtf45pYRsLGTTzCNvelT9VTzqQut5yfnC9Z4OD3DsFagWRRZE3Z9HVmk8ve8SFqu3OWSXrOuM91aB212fnRCvlYh3gUkng== X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:DB8PR04MB6795.eurprd04.prod.outlook.com; PTR:; CAT:NONE; SFS:(4636009)(366004)(346002)(396003)(376002)(136003)(39860400002)(956004)(2616005)(36756003)(52116002)(86362001)(2906002)(6506007)(6666004)(6486002)(6512007)(66946007)(5660300002)(8676002)(1076003)(316002)(478600001)(16526019)(66556008)(66476007)(186003)(8936002)(26005)(69590400011)(4326008)(32563001); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData: j73SRz9TGCzeZbnVZbkTBrYl+d1ntbY9nCPupXmuLgkTIEHdQDxTm7n0GbCwmghg3yMWrdcBmov5OpUFpwvrfmhEhjXgNQG6wvXmzDTbDEbuKpzOjBnTjCfyWba7pyXdQ/TB75PEdPFJ3TbI2s5cHzrdOzYcSY30mFrzKhFMaqEwQ7MQ5MGa8LLAuQx0jJU4a9xSi1ynJO3GGa+DzHEaTVs2BOibJNP0AqnQN+NRvIdIgu0XiM6RMblTCAyH6weftfARJNBpiAR6SDG2MiDizbSfRzNLYlaQUsg+6ZFVRd4vFaD/ULxCUjt0QPXgkzyTsa+psABB/z2058hUevjnfmVRZuuoYCGwk/QrfYGHNI5R7XOKsmiPq5si6tVVmjoaNUvs5QXbx7kCi2bz2uGkAt9DwED55V4cAssdMydc/FjaVdhIWKZuboKyabAhakZ9CLwuh0I+SI+DCmUueiATA/m70N3eFywh62+EOtT6F3dHT05IG+I1Ro3yRkrKZaTt7Bg0yTDpBZ2w3xT00B1hHNoy7tFJxy98p7JNxgi4UV+ZuUYTZe1Nz6RgDHuhomlorzx0mNWXYF+dcPFPqNEHUT8SJgxEjjQSp5aGU73qHkuDa7+bYIm+bSYhrH/VYJAj/53cgDxkZ8KLYoE4r8FGtLM2MG//JCCqDIIop2psxgdDpZkkv3C8RWJn5tS/uRuUtCap4O+kjtFvqODhqmi70/D6dFK7JXJvNqfjXKv7rQZbnAedY+2nPYk35KAU0oVh9SaFouBIXXbTLLpEdWxEpNu8SHIydb1LL7oBm+6YSaIXWmE3MRZSYAtMQN2mZTOCOm8cklBzegps26FTEdJaHYE5qYy3ti++GYVIyV+FCWluP4ObrUhjzGnQxab7WO6herVMuLC5wcBJnrYccWsFWPWBy05norqkL/3OI0BfLejDxTGzuMiGAzFACt6FMTOnNz7SlGGzzZQ8Lb+r648WDc5jxRqxiSEW4tTw12t6Yzt7v7pM34lhYT0CdAnNaNfsSi2r647gFbwaW2I8fMnO0FBb2lDYyaern+fgkfAbkL2FmyU5z0TSethVj7N4JnPy X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: a3c323b5-bccf-472d-fa4c-08d8c10fa0a2 X-MS-Exchange-CrossTenant-AuthSource: DB8PR04MB6795.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 25 Jan 2021 09:00:13.8492 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: NCjbq+dLayEtsPrjtlpBg69fbanrQjelTvye0wLNlaoa0Jf0WhzuyaBItMPeipScxncqv5c3UMML25St5jrdgw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DBAPR04MB7366 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210125_040014_806041_9185BF42 X-CRM114-Status: GOOD ( 14.21 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: linux-perf-users@vger.kernel.org, mark.rutland@arm.com, will@kernel.org, linux-imx@nxp.com, linux-arm-kernel@lists.infradead.org Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Add JSON metrics for imx8mn DDR Perf. Signed-off-by: Joakim Zhang --- .../arch/arm64/freescale/imx8mn/sys/ddrc.json | 37 +++++++++++++++++++ .../arm64/freescale/imx8mn/sys/metrics.json | 18 +++++++++ 2 files changed, 55 insertions(+) create mode 100644 tools/perf/pmu-events/arch/arm64/freescale/imx8mn/sys/ddrc.json create mode 100644 tools/perf/pmu-events/arch/arm64/freescale/imx8mn/sys/metrics.json diff --git a/tools/perf/pmu-events/arch/arm64/freescale/imx8mn/sys/ddrc.json b/tools/perf/pmu-events/arch/arm64/freescale/imx8mn/sys/ddrc.json new file mode 100644 index 000000000000..8352e73d6d35 --- /dev/null +++ b/tools/perf/pmu-events/arch/arm64/freescale/imx8mn/sys/ddrc.json @@ -0,0 +1,37 @@ +[ + { + "BriefDescription": "ddr cycles event", + "EventCode": "0x00", + "EventName": "imx8mn_ddr.cycles", + "Unit": "imx8_ddr", + "Compat": "i.MX8MN" + }, + { + "BriefDescription": "ddr read-cycles event", + "EventCode": "0x2a", + "EventName": "imx8mn_ddr.read_cycles", + "Unit": "imx8_ddr", + "Compat": "i.MX8MN" + }, + { + "BriefDescription": "ddr write-cycles event", + "EventCode": "0x2b", + "EventName": "imx8mn_ddr.write_cycles", + "Unit": "imx8_ddr", + "Compat": "i.MX8MN" + }, + { + "BriefDescription": "ddr read event", + "EventCode": "0x35", + "EventName": "imx8mn_ddr.read", + "Unit": "imx8_ddr", + "Compat": "i.MX8MN" + }, + { + "BriefDescription": "ddr write event", + "EventCode": "0x38", + "EventName": "imx8mn_ddr.write", + "Unit": "imx8_ddr", + "Compat": "i.MX8MN" + } +] diff --git a/tools/perf/pmu-events/arch/arm64/freescale/imx8mn/sys/metrics.json b/tools/perf/pmu-events/arch/arm64/freescale/imx8mn/sys/metrics.json new file mode 100644 index 000000000000..2bbba4d8ea5b --- /dev/null +++ b/tools/perf/pmu-events/arch/arm64/freescale/imx8mn/sys/metrics.json @@ -0,0 +1,18 @@ +[ + { + "BriefDescription": "bytes all masters read from ddr based on read-cycles event", + "MetricName": "imx8mn_ddr_read.all", + "MetricExpr": "imx8mn_ddr.read_cycles * 4 * 2", + "ScaleUnit": "9.765625e-4KB", + "Unit": "imx8_ddr", + "Compat": "i.MX8MN" + }, + { + "BriefDescription": "bytes all masters write to ddr based on write-cycles event", + "MetricName": "imx8mn_ddr_write.all", + "MetricExpr": "imx8mn_ddr.write_cycles * 4 * 2", + "ScaleUnit": "9.765625e-4KB", + "Unit": "imx8_ddr", + "Compat": "i.MX8MN" + } +] From patchwork Mon Jan 25 08:59:26 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Joakim Zhang X-Patchwork-Id: 12043105 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-17.0 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, INCLUDES_PATCH,MAILING_LIST_MULTI,MSGID_FROM_MTA_HEADER,SPF_HELO_NONE, SPF_PASS,URIBL_BLOCKED,USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 892C4C433DB for ; Mon, 25 Jan 2021 09:01:55 +0000 (UTC) Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 2B18522E03 for ; Mon, 25 Jan 2021 09:01:55 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 2B18522E03 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=nxp.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=merlin.20170209; h=Sender:Content-Transfer-Encoding: Content-Type:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To:Message-Id:Date: Subject:To:From:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=hvRWrE1Zkcnj9973uCA5/jPksy/aTjhxKKSeKf536M8=; b=G5lozkkBR0qF/tyCxPzu/XXJX hMMYYLujauHpZ4nez07OWzzcRRh5GhYdmzEiyirMwnkjuluEyBBehsSbGeEFNAx9ZXsY1ED47S57F R1S3njLKWbFuEWzvYbAKTsV78djs6m2yfbp5QFUWiDnzeO05J/mvEnsYkaznMNfyEmaxNwPaGI52w DzApXHsks+KxpATwUWN4LOB+VSUBlty6s//Fdv2suS0XNCB6WBnVID5O9G72lNsGzK/9GA6g4T6Rt /T4vZSG++0CP4oFzG1SZwFiQrdadEdvTEtN0UExoR9qFoR07UIiQUlu06NcTarhJp5IFLAYkR8JwX VHadv5f5Q==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1l3xjX-0005xf-DD; Mon, 25 Jan 2021 09:00:27 +0000 Received: from mail-eopbgr150045.outbound.protection.outlook.com ([40.107.15.45] helo=EUR01-DB5-obe.outbound.protection.outlook.com) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1l3xjP-0005wF-DU for linux-arm-kernel@lists.infradead.org; Mon, 25 Jan 2021 09:00:20 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=PsZDyJHTtHrBWp/VItClK3AzoUB7YD7i+31qGE/CIb+IoV9rJvsKLHB33C2e6IBzOJD8Kww5Lc+2N7I3MJt+nV+9pymXEljgWxQkkQQi9hPTsXdQQP0oypS4u0W68g0lh6P+5U0IXvilJQVWoni5txRyGLhWzvL4VM0VxWPu6WYjCLa3wfLbSp5zvgf6B0OPKtUQ77U5m2X90XnkvKa3kTtjlsMUzYOGQZD61/Mg3kaaQlxDwiLYc8S3pils7WhIcNxQbR4c9a+1w6DyBrFYI/jRHx5z3BUzbYUEiv+6Paqvvr5pm9FqKbqgYZbgr+m9nIVDRzKEsxVnxHPHqe+68w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=Xtj79xuZInN6B+XVYTfqBLh9adH5iY7mutTyImwfCsE=; b=IS4tnOqtW10w6Ng3PC7plBlauR5YtWH8+3FuQkWhlzv7eAGQ/xyUaVpZk6Mu4+5h14H0bvuoSMv6e8rzXF6Fi9nxD4nEcIOPIxW8hZPHuimnkyhFeYD7YARRVK2YxQi1KDIVJpLKX7kDp9LPq/br9ydf0fF8LvYonth90T17fiMC103rs+ymGx3gxA+Qnr/KmzfjhUmaGpvCkjWUrNessQTmqhAMMXAmiY406Rx06zEwKweRSxKwKoi0sXLLEAdz+wWrthnB8MtTASLzWoJIFBHWJaAyloa8R+gf3C3WlIeMbYpfHrAXYKqrNs3GOd4S6+Jqtwm4zWjrhgh7xbT53w== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=nxp.com; dmarc=pass action=none header.from=nxp.com; dkim=pass header.d=nxp.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nxp.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=Xtj79xuZInN6B+XVYTfqBLh9adH5iY7mutTyImwfCsE=; b=olA2fif3FrQ6haXi+Rv8tHb95LKmdCwVQn9ncLG6IfUu4jqpJFvpMB78T7ueHH86s0pltMCOcc/+VhRy6bHi4TUZxdwXcd+/Hn+jJkeM8J45pef5D99/yyGWr84CgW4hhZVWKPIJGekhdg9TeOzFcemzD4usdMqVpNHp/bISL/s= Authentication-Results: huawei.com; dkim=none (message not signed) header.d=none;huawei.com; dmarc=none action=none header.from=nxp.com; Received: from DB8PR04MB6795.eurprd04.prod.outlook.com (2603:10a6:10:fa::15) by DBAPR04MB7366.eurprd04.prod.outlook.com (2603:10a6:10:1a0::23) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3784.12; Mon, 25 Jan 2021 09:00:17 +0000 Received: from DB8PR04MB6795.eurprd04.prod.outlook.com ([fe80::9d2b:182e:ba3b:5920]) by DB8PR04MB6795.eurprd04.prod.outlook.com ([fe80::9d2b:182e:ba3b:5920%4]) with mapi id 15.20.3784.016; Mon, 25 Jan 2021 09:00:17 +0000 From: Joakim Zhang To: john.garry@huawei.com, acme@kernel.org, jolsa@redhat.com Subject: [PATCH V2 3/4] perf vendor events: Add JSON metrics for imx8mq DDR Perf Date: Mon, 25 Jan 2021 16:59:26 +0800 Message-Id: <20210125085927.27322-4-qiangqing.zhang@nxp.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20210125085927.27322-1-qiangqing.zhang@nxp.com> References: <20210125085927.27322-1-qiangqing.zhang@nxp.com> X-Originating-IP: [119.31.174.71] X-ClientProxiedBy: SG2PR01CA0135.apcprd01.prod.exchangelabs.com (2603:1096:4:8f::15) To DB8PR04MB6795.eurprd04.prod.outlook.com (2603:10a6:10:fa::15) MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 Received: from localhost.localdomain (119.31.174.71) by SG2PR01CA0135.apcprd01.prod.exchangelabs.com (2603:1096:4:8f::15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3784.11 via Frontend Transport; Mon, 25 Jan 2021 09:00:14 +0000 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-HT: Tenant X-MS-Office365-Filtering-Correlation-Id: ffacfeec-7d9c-4380-092a-08d8c10fa2a2 X-MS-TrafficTypeDiagnostic: DBAPR04MB7366: X-MS-Exchange-Transport-Forked: True X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:1247; X-MS-Exchange-SenderADCheck: 1 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: 5NrCI+hyKk2wfAxhgZdfniR/MqJ+DCxC0HOy6wJDL/0dx716aS/z47KGbidpoqHBTs5qzwkX3SdotQAudqQut51IfqtvXiXUl1HuJMcfOijbEvl4Ac9pDBlq8O/78h13sGofyKDYtMryVe3asTBOsQW65FKc2aqZBA5ND5Q/PKFaRx0dqd5JDwQ2oz9JwgwZtj1dztn2C/Sh27QBua7DKE42d429XYC2zyWRwNsmCB9OR5250/m89FPy90hl89O7hS45vxwqLsZhaA5TsVJBxwkj0MbYvpBdG+gFyq/ozDWKwxppp+iHWsOi0EluKsxVAYiMW2uYlYZHlyCvxbsSHq5+2jRgWi0VaC58+YhbyJsQ9s4hOEC2Guu/vJEJt2juwBAfFxXLjN8fS6I7GHKaiyp01nFMBv/hFNAEr6jyAK5UZc8xnd3OXWFy8ro9ag+T0DT4ryX/EfNM26Jnj+7X0g== X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:DB8PR04MB6795.eurprd04.prod.outlook.com; PTR:; CAT:NONE; SFS:(4636009)(366004)(346002)(396003)(376002)(136003)(39860400002)(956004)(2616005)(36756003)(52116002)(86362001)(2906002)(6506007)(6666004)(6486002)(6512007)(66946007)(5660300002)(8676002)(1076003)(316002)(478600001)(16526019)(66556008)(66476007)(186003)(8936002)(26005)(69590400011)(4326008)(32563001); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData: 0RMoLnvWmN7Sk9EAryK8C2XsbnVWjniMYWju1l2+2/CousFdr/w5uXg7PROrZ4Ft9Lffr5HZP0zpaB+OHJBK6WmxxUN8q6Oc7C/RDD6RCLENLoMx+wYf8Rby4sfH4r19hWg8h4bSxHWrtqaiolmj5VCo/gpQGUPxfDxxvno20uvV7SjgFTdQ6pSWwqarlLKafRZu/0nhhqZXTok/TohRbTyghKPYNQKU0ZAxtglfGL0lii7ER+upR0sne1tlgVf9eHMy6gKz3jPnMeTDIx8DK/Z6aYlOukO4XEUcXfD1uqpUatji8gTe4KmN98zzBke8r+oOmyTJzFjLWZS1c3gnRQKw5gTQsen3k1hrkSslfWbV9WDQ3V6DPXq6wUdxjM+t+6ySQRP3pTjJ5+JRT4b4cgH4UDGkcgsoJGW22wetsg3P2Rxl7bM3IJZomUQowJzyYL7UW6QsuSmHYNCNB/PObck2V3RgzKI68zh2b3BbCtg9spQKoPxnnzxXgW/sx7IvbJ2tglvPjXLd1nw/MAKjLag+Kb9Z4xun9ZPwBcfycO62WpK3CsMVzDrHGLjwAvIPavQxIsg8BXNGcoQP2rdpXkXdFaSK3qgNiY9/Q9bJgrJqYnYHqJSd0ToGUj0LgCCIeZkrXNE57oQEHj76llostwTFg4rAeSR2dRsi0sQKXckVZGO1ZXfh5wZrUdf/mi9MibLRXvGd+7KLyDYZKt2HGxDnLPXb7vGChtM0cc/95w0+EXKWNUqJEMIeqSTBAGTrREFw7hEGFwZUxYXWG+5CImOcPC56O6fz51aYb1cTms1PdbfscUKxwgDSQ/NP98tBZ/aLpDAANueLQBdYnS9Uao9nH4QuabKo0JCKPLosH4telgnn+3f0jKoqAZ+V85gYLTSxW23yf8zIsMGdB8ys44iFxA+w18lWiGvkLvl0bJUGBfRqUthftkaRilbAsseq8/sUNvGGUUq5p0QfSEguqlCy/EfN3PVLun3+VRIbpZrkXKdBhReAKvIgrv/H7TolQSLzlNt22ffhG/tA54akC/9tInHU40s1rS4dpPYI1BPTfCIDvGtQJBA1bdCGNzZM X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: ffacfeec-7d9c-4380-092a-08d8c10fa2a2 X-MS-Exchange-CrossTenant-AuthSource: DB8PR04MB6795.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 25 Jan 2021 09:00:17.2732 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: h4G7EG1kruAZcUdxU5YqzluWQJ8BSXg3Qkuo0l3MVOJgikVzkPsdXbwSdCfvsw+z5sHpaLHIDhXpMrhjwGx8Ng== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DBAPR04MB7366 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210125_040019_514664_A1E207CE X-CRM114-Status: GOOD ( 14.32 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: linux-perf-users@vger.kernel.org, mark.rutland@arm.com, will@kernel.org, linux-imx@nxp.com, linux-arm-kernel@lists.infradead.org Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Add JSON metrics for imx8mq DDR Perf. Signed-off-by: Joakim Zhang --- .../arch/arm64/freescale/imx8mq/sys/ddrc.json | 37 +++++++++++++++++++ .../arm64/freescale/imx8mq/sys/metrics.json | 18 +++++++++ 2 files changed, 55 insertions(+) create mode 100644 tools/perf/pmu-events/arch/arm64/freescale/imx8mq/sys/ddrc.json create mode 100644 tools/perf/pmu-events/arch/arm64/freescale/imx8mq/sys/metrics.json diff --git a/tools/perf/pmu-events/arch/arm64/freescale/imx8mq/sys/ddrc.json b/tools/perf/pmu-events/arch/arm64/freescale/imx8mq/sys/ddrc.json new file mode 100644 index 000000000000..c8682728ddad --- /dev/null +++ b/tools/perf/pmu-events/arch/arm64/freescale/imx8mq/sys/ddrc.json @@ -0,0 +1,37 @@ +[ + { + "BriefDescription": "ddr cycles event", + "EventCode": "0x00", + "EventName": "imx8mq_ddr.cycles", + "Unit": "imx8_ddr", + "Compat": "i.MX8MQ" + }, + { + "BriefDescription": "ddr read-cycles event", + "EventCode": "0x2a", + "EventName": "imx8mq_ddr.read_cycles", + "Unit": "imx8_ddr", + "Compat": "i.MX8MQ" + }, + { + "BriefDescription": "ddr write-cycles event", + "EventCode": "0x2b", + "EventName": "imx8mq_ddr.write_cycles", + "Unit": "imx8_ddr", + "Compat": "i.MX8MQ" + }, + { + "BriefDescription": "ddr read event", + "EventCode": "0x35", + "EventName": "imx8mq_ddr.read", + "Unit": "imx8_ddr", + "Compat": "i.MX8MQ" + }, + { + "BriefDescription": "ddr write event", + "EventCode": "0x38", + "EventName": "imx8mq_ddr.write", + "Unit": "imx8_ddr", + "Compat": "i.MX8MQ" + } +] diff --git a/tools/perf/pmu-events/arch/arm64/freescale/imx8mq/sys/metrics.json b/tools/perf/pmu-events/arch/arm64/freescale/imx8mq/sys/metrics.json new file mode 100644 index 000000000000..862c98171e0d --- /dev/null +++ b/tools/perf/pmu-events/arch/arm64/freescale/imx8mq/sys/metrics.json @@ -0,0 +1,18 @@ +[ + { + "BriefDescription": "bytes all masters read from ddr based on read-cycles event", + "MetricName": "imx8mq_ddr_read.all", + "MetricExpr": "imx8mq_ddr.read_cycles * 4 * 4", + "ScaleUnit": "9.765625e-4KB", + "Unit": "imx8_ddr", + "Compat": "i.MX8MQ" + }, + { + "BriefDescription": "bytes all masters write to ddr based on write-cycles event", + "MetricName": "imx8mq_ddr_write.all", + "MetricExpr": "imx8mq_ddr.write_cycles * 4 * 4", + "ScaleUnit": "9.765625e-4KB", + "Unit": "imx8_ddr", + "Compat": "i.MX8MQ" + } +] From patchwork Mon Jan 25 08:59:27 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Joakim Zhang X-Patchwork-Id: 12043109 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-17.0 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, INCLUDES_PATCH,MAILING_LIST_MULTI,MSGID_FROM_MTA_HEADER,SPF_HELO_NONE, SPF_PASS,URIBL_BLOCKED,USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 7762BC433E6 for ; Mon, 25 Jan 2021 09:02:11 +0000 (UTC) Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id E7B8522E03 for ; Mon, 25 Jan 2021 09:02:10 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org E7B8522E03 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=nxp.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=merlin.20170209; h=Sender:Content-Transfer-Encoding: Content-Type:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To:Message-Id:Date: Subject:To:From:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=c5C7oBa8i9GCwI2NOV7AhrRGBPk3nDoNTvwdJtrdXeE=; b=hHHI5GH+2B+Q/szUnYCcFtvEu 9FtpgHR1a4T/UJ6EFyD+ic0H892hGYzm1wOxzhHrt0hoSYdDBTdiobf0RBX05XvstxrjKDnucg82c yCE5KNmIJbGNUi6A5LeHJTFgnK90LLK8N1h5IWtR9g8fI+7MnOk3YkB9aHo3f3bGw+uo55F6giZGk 5JbUVv2aLXLoOSzg8maLGMz469F3AXK5n+LMlv+tJvFbVxtUCAEWWNKYpS8EjZDt9OiwsNNoSOz+A umAIzQeXYbSlMa0zTiHWbw96YjUxrHJkYiudP48aaO9PVy6cQqhAIrSLDhy8+ozfMnfgc5QetxRCq ZOa8qN7vA==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1l3xjf-0005zc-RB; Mon, 25 Jan 2021 09:00:35 +0000 Received: from mail-eopbgr150042.outbound.protection.outlook.com ([40.107.15.42] helo=EUR01-DB5-obe.outbound.protection.outlook.com) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1l3xjS-0005ws-Mv for linux-arm-kernel@lists.infradead.org; Mon, 25 Jan 2021 09:00:24 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=AHjDBMcRMAjIyGWV8Qk1dqo9f2ngsjZtH3UmehjrKrQvlLH3WqEW1CWs+fJ7ICZKgqR5opTqGV3n8t0DfVP9PYFNryJverPjW3vmxRiHj+j3FhqY2zkfbSMi1Bercz8mbMuD8tN3kw1KHETHdow+qxhXbk9twH2umhJ0nm4koh9TSN2zM9Ian9dJT+7F6K9venpa7cwT7sGAt5pWL6e/mus2EHU8M7kFGzGvxFlP19ZRuVcidYYGJhwPZqLax3hj21iifoXk46v1SClrj6hadXh8yxFhbWvSaUfX3uM/zxUTUGt2Q2ChUPypfxAx+EqwVxY/73siWJpg32PIujEarA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=ZDVComvxyjOcsJX613xHydIROC/9QYDaMdvBp3rMkyQ=; b=Jot7MjRIQK/NKvzxUi2AdkMOWWjvY02z623vdJzmvILvSCYdgWA/6RrT4Hq3tVCavMiX9tvewfirGLcQZksVucw3DxMFVv0sspo6lEL9lOLtk0Q4DueJlqAwTq1AQcWBfXPou1R3G1bGxi0Gxk9i5jFdFAItsSIPvlbzWidhCnlP6k1LyhFCqVOMslvT8Upb5J/macDvVb8/8tXTNOZ+U5Q26ogH6axAWkrCYUzHO4q+KYjHkeX2/XZnqJsH0tK6geAJXqJUsy3DBm+/CxrMdUEI2JQJgMjGV83SbYOujvcy5XO63LPXHMT6gfpb7D+eXo3qghJHM+CIl556bdg38Q== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=nxp.com; dmarc=pass action=none header.from=nxp.com; dkim=pass header.d=nxp.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nxp.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=ZDVComvxyjOcsJX613xHydIROC/9QYDaMdvBp3rMkyQ=; b=BUIQPT4jILLycVEbyyjulmHaxRAo+C7w3OT3DfI5pa/LZW/yF3byQjSBJvWLTmChCetg0HQf7n6jsq7k9WQpgkicaC/CAaWytIYPGB52QIqIISvotILuxfKG18VV//Wjx7bauzv8eXT9NDeZlZu2qn02xoQLiYpzuuRsOrc18Z4= Authentication-Results: huawei.com; dkim=none (message not signed) header.d=none;huawei.com; dmarc=none action=none header.from=nxp.com; Received: from DB8PR04MB6795.eurprd04.prod.outlook.com (2603:10a6:10:fa::15) by DBAPR04MB7366.eurprd04.prod.outlook.com (2603:10a6:10:1a0::23) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3784.12; Mon, 25 Jan 2021 09:00:20 +0000 Received: from DB8PR04MB6795.eurprd04.prod.outlook.com ([fe80::9d2b:182e:ba3b:5920]) by DB8PR04MB6795.eurprd04.prod.outlook.com ([fe80::9d2b:182e:ba3b:5920%4]) with mapi id 15.20.3784.016; Mon, 25 Jan 2021 09:00:20 +0000 From: Joakim Zhang To: john.garry@huawei.com, acme@kernel.org, jolsa@redhat.com Subject: [PATCH V2 4/4] perf vendor events: Add JSON metrics for imx8mp DDR Perf Date: Mon, 25 Jan 2021 16:59:27 +0800 Message-Id: <20210125085927.27322-5-qiangqing.zhang@nxp.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20210125085927.27322-1-qiangqing.zhang@nxp.com> References: <20210125085927.27322-1-qiangqing.zhang@nxp.com> X-Originating-IP: [119.31.174.71] X-ClientProxiedBy: SG2PR01CA0135.apcprd01.prod.exchangelabs.com (2603:1096:4:8f::15) To DB8PR04MB6795.eurprd04.prod.outlook.com (2603:10a6:10:fa::15) MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 Received: from localhost.localdomain (119.31.174.71) by SG2PR01CA0135.apcprd01.prod.exchangelabs.com (2603:1096:4:8f::15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3784.11 via Frontend Transport; Mon, 25 Jan 2021 09:00:17 +0000 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-HT: Tenant X-MS-Office365-Filtering-Correlation-Id: 8285f54c-400c-41b0-6196-08d8c10fa484 X-MS-TrafficTypeDiagnostic: DBAPR04MB7366: X-MS-Exchange-Transport-Forked: True X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:1443; X-MS-Exchange-SenderADCheck: 1 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: UqqbLH5AlDg3MBDr/BL4JkopD4OgJ2NC6sBcVepFQqYcbEgKQ9rSrVodp+2zvbNPEbRspDkMuy4JP+IVQGRS9QVjV7sEWo7ZABeeloZ4wyMLjVGzndnR+ngvlCJvn/Drl3Ektnux8v+vgV6aQU7wlpZB0BGCUr4j3/SXcC+covDN/jXEcPsMVTiEp5RWUA0KBO1mBRD68+sbKGNH+WJs99SwVt2AQDs9MohJrzjAJ5RCvNGpsKKIMOXPvHIBuE3awO8q40dk8PMmXCzCOFKyjHv5zXO5Le+SzYtLj+fMre1mV7zHqSFp16sBCZ9Jwv1Xamjch42aCS6NsV0Jhy1GHa1X12WuWzRzugRXaCic+TaYYTpj4E1QZPqBoe+Fkop0UAhsDgIHy/ZoJBoPJQoqilU1VmZUO0oINSTWApFNalnm6WwahNxVdka1Ziw/NYwZsJkfEzAynIbcYUE78Tz753dQ1AJ1YT4pB1mNowVKQJU= X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:DB8PR04MB6795.eurprd04.prod.outlook.com; PTR:; CAT:NONE; SFS:(4636009)(366004)(346002)(396003)(376002)(136003)(39860400002)(956004)(2616005)(36756003)(52116002)(86362001)(2906002)(6506007)(6666004)(6486002)(6512007)(66946007)(5660300002)(8676002)(1076003)(30864003)(316002)(478600001)(16526019)(66556008)(66476007)(186003)(8936002)(26005)(69590400011)(4326008)(32563001); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData: MpHE6ujkep457zq2AWNmEMucyf2DRNWQ6hwxSm5RY5195oCZP9VT5msSGcS/Tfgcbaos9xaxQbn0pQsQ1Rpi91Lm64CeWeIif/z5K1kqlBViMv/JSrCRK33NTRNgO8dfG16a8wrcsV0IIpm7Dn6CviJaR24HSIZ/hrDE/TCl9W2J9P2CHEGPa2+dkqio8ld53fQdxN+SxpzxKKgDD+4BX8TTxLxuq+eQb0eq2OVIkoLm7yFH5aovcgG/YGjiUsx6i6nyHnTQxBccV0geobceQGPlxjfH470gz6Yv9ju5bU3nak994PDixXaOoyjkMlX15/7KrfRB1HSMXGiT/6DKOANFv/TBFxQIiCLMtgcxlgmROvNfb3ZCf6G72WN6InyAmwTDbI8LcP6BV/LHGL2rOJi1agUQTN21qUMPYZKV4/+kuz90Ln0dXCx6Xahv/13nbNmLRy+16EY4FRSUxbeM9Af0WBN3T04oTfoNoum5TGzgqyBf87RkKGW4N+vGQwMvEf9C6REZQ2MdPvev2pRfzLKAPzKwh1/BEwaSTKL32LTRje1H+th5nXTIj6IZ8s4lblKDQkwZzsfSEdKB/ZJsa9Qojp0sH1AGHWl4erJj9K5nulFOjhl1x/mgBBi0mW38pTwu5LvYkgNTV4EXlpSSgiqQ0G2IwTvaL9ZcNcX/e65hZa/dR+xH3NUCseGzfD/88qmeXdyFSk8Exwni+0S5pBrdLTDHTUBuZtN5PKw6JdeKSQzL4ct4Cxmfz+SABzKTZokNldWuFpx3TFktQkgprUiNbR/AqGJWPXOY1WR6rkZWqICxTTK+ZASwo6ohNhtek20gmbZftACDjMaegMNN32f3PL0QrtWKzoY2t8MLVOzpeCPfxJg3ul/EA1XqPCtR3xJq1ploUIVyxYrX1cXvXMol2S4RASdoaIBNJeYpt7Qjy3zsMGTL3sFX/dkRhqPEUWeaoMNUdgOyXBlhjZYWy+vAbQ+T67KQKYxDOpRvQganITb0IXbp7sSaWESkZ16saigWBmSn1FYY/XGk0ANTZzVpG0Vl1S/DSpMW95C/yuGDBJq1qsDYJxAnK1FLAJ1e X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 8285f54c-400c-41b0-6196-08d8c10fa484 X-MS-Exchange-CrossTenant-AuthSource: DB8PR04MB6795.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 25 Jan 2021 09:00:20.5587 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: r0NKWhQynCWLav6lqYwtj9KkxdkSo35JUKEla7WxNyGt+xb3dkqkl6iVzU7GDZDugV1C3r5v/J5oLFRv6IbXaA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DBAPR04MB7366 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210125_040023_090946_9D338B11 X-CRM114-Status: GOOD ( 14.33 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: linux-perf-users@vger.kernel.org, mark.rutland@arm.com, will@kernel.org, linux-imx@nxp.com, linux-arm-kernel@lists.infradead.org Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Add JSON metrics for imx8mp DDR Perf. Signed-off-by: Joakim Zhang --- .../arch/arm64/freescale/imx8mp/sys/ddrc.json | 37 ++ .../arm64/freescale/imx8mp/sys/metrics.json | 466 ++++++++++++++++++ 2 files changed, 503 insertions(+) create mode 100644 tools/perf/pmu-events/arch/arm64/freescale/imx8mp/sys/ddrc.json create mode 100644 tools/perf/pmu-events/arch/arm64/freescale/imx8mp/sys/metrics.json diff --git a/tools/perf/pmu-events/arch/arm64/freescale/imx8mp/sys/ddrc.json b/tools/perf/pmu-events/arch/arm64/freescale/imx8mp/sys/ddrc.json new file mode 100644 index 000000000000..f9a89efc9b24 --- /dev/null +++ b/tools/perf/pmu-events/arch/arm64/freescale/imx8mp/sys/ddrc.json @@ -0,0 +1,37 @@ +[ + { + "BriefDescription": "ddr cycles event", + "EventCode": "0x00", + "EventName": "imx8mp_ddr.cycles", + "Unit": "imx8_ddr", + "Compat": "i.MX8MP" + }, + { + "BriefDescription": "ddr read-cycles event", + "EventCode": "0x2a", + "EventName": "imx8mp_ddr.read_cycles", + "Unit": "imx8_ddr", + "Compat": "i.MX8MP" + }, + { + "BriefDescription": "ddr write-cycles event", + "EventCode": "0x2b", + "EventName": "imx8mp_ddr.write_cycles", + "Unit": "imx8_ddr", + "Compat": "i.MX8MP" + }, + { + "BriefDescription": "ddr read event", + "EventCode": "0x35", + "EventName": "imx8mp_ddr.read", + "Unit": "imx8_ddr", + "Compat": "i.MX8MP" + }, + { + "BriefDescription": "ddr write event", + "EventCode": "0x38", + "EventName": "imx8mp_ddr.write", + "Unit": "imx8_ddr", + "Compat": "i.MX8MP" + } +] diff --git a/tools/perf/pmu-events/arch/arm64/freescale/imx8mp/sys/metrics.json b/tools/perf/pmu-events/arch/arm64/freescale/imx8mp/sys/metrics.json new file mode 100644 index 000000000000..e999e7b59261 --- /dev/null +++ b/tools/perf/pmu-events/arch/arm64/freescale/imx8mp/sys/metrics.json @@ -0,0 +1,466 @@ +[ + { + "BriefDescription": "bytes of all masters read from ddr", + "MetricName": "imx8mp_ddr_read.all", + "MetricExpr": "imx8_ddr0@axid\\-read\\,axi_mask\\=0xffff\\,axi_id\\=0x0000@", + "ScaleUnit": "9.765625e-4KB", + "Unit": "imx8_ddr", + "Compat": "i.MX8MP" + }, + { + "BriefDescription": "bytes of all masters write to ddr", + "MetricName": "imx8mp_ddr_write.all", + "MetricExpr": "imx8_ddr0@axid\\-write\\,axi_mask\\=0xffff\\,axi_id\\=0x0000@", + "ScaleUnit": "9.765625e-4KB", + "Unit": "imx8_ddr", + "Compat": "i.MX8MP" + }, + { + "BriefDescription": "bytes of a53 core read from ddr", + "MetricName": "imx8mp_ddr_read.a53", + "MetricExpr": "imx8_ddr0@axid\\-read\\,axi_mask\\=0x0000\\,axi_id\\=0x0000@", + "ScaleUnit": "9.765625e-4KB", + "Unit": "imx8_ddr", + "Compat": "i.MX8MP" + }, + { + "BriefDescription": "bytes of a53 core write to ddr", + "MetricName": "imx8mp_ddr_write.a53", + "MetricExpr": "imx8_ddr0@axid\\-write\\,axi_mask\\=0x0000\\,axi_id\\=0x0000@", + "ScaleUnit": "9.765625e-4KB", + "Unit": "imx8_ddr", + "Compat": "i.MX8MP" + }, + { + "BriefDescription": "bytes of supermix(m7) core read from ddr", + "MetricName": "imx8mp_ddr_read.supermix", + "MetricExpr": "imx8_ddr0@axid\\-read\\,axi_mask\\=0x000f\\,axi_id\\=0x0020@", + "ScaleUnit": "9.765625e-4KB", + "Unit": "imx8_ddr", + "Compat": "i.MX8MP" + }, + { + "BriefDescription": "bytes of supermix(m7) write to ddr", + "MetricName": "imx8mp_ddr_write.supermix", + "MetricExpr": "imx8_ddr0@axid\\-write\\,axi_mask\\=0x000f\\,axi_id\\=0x0020@", + "ScaleUnit": "9.765625e-4KB", + "Unit": "imx8_ddr", + "Compat": "i.MX8MP" + }, + { + "BriefDescription": "bytes of gpu 3d read from ddr", + "MetricName": "imx8mp_ddr_read.3d", + "MetricExpr": "imx8_ddr0@axid\\-read\\,axi_mask\\=0x0000\\,axi_id\\=0x0070@", + "ScaleUnit": "9.765625e-4KB", + "Unit": "imx8_ddr", + "Compat": "i.MX8MP" + }, + { + "BriefDescription": "bytes of gpu 3d write to ddr", + "MetricName": "imx8mp_ddr_write.3d", + "MetricExpr": "imx8_ddr0@axid\\-write\\,axi_mask\\=0x0000\\,axi_id\\=0x0070@", + "ScaleUnit": "9.765625e-4KB", + "Unit": "imx8_ddr", + "Compat": "i.MX8MP" + }, + { + "BriefDescription": "bytes of gpu 2d read from ddr", + "MetricName": "imx8mp_ddr_read.2d", + "MetricExpr": "imx8_ddr0@axid\\-read\\,axi_mask\\=0x0000\\,axi_id\\=0x0071@", + "ScaleUnit": "9.765625e-4KB", + "Unit": "imx8_ddr", + "Compat": "i.MX8MP" + }, + { + "BriefDescription": "bytes of gpu 2d write to ddr", + "MetricName": "imx8mp_ddr_write.2d", + "MetricExpr": "imx8_ddr0@axid\\-write\\,axi_mask\\=0x0000\\,axi_id\\=0x0071@", + "ScaleUnit": "9.765625e-4KB", + "Unit": "imx8_ddr", + "Compat": "i.MX8MP" + }, + { + "BriefDescription": "bytes of display lcdif1 read from ddr", + "MetricName": "imx8mp_ddr_read.lcdif1", + "MetricExpr": "imx8_ddr0@axid\\-read\\,axi_mask\\=0x0000\\,axi_id\\=0x0068@", + "ScaleUnit": "9.765625e-4KB", + "Unit": "imx8_ddr", + "Compat": "i.MX8MP" + }, + { + "BriefDescription": "bytes of display lcdif1 write to ddr", + "MetricName": "imx8mp_ddr_write.lcdif1", + "MetricExpr": "imx8_ddr0@axid\\-write\\,axi_mask\\=0x0000\\,axi_id\\=0x0068@", + "ScaleUnit": "9.765625e-4KB", + "Unit": "imx8_ddr", + "Compat": "i.MX8MP" + }, + { + "BriefDescription": "bytes of display lcdif2 read from ddr", + "MetricName": "imx8mp_ddr_read.lcdif2", + "MetricExpr": "imx8_ddr0@axid\\-read\\,axi_mask\\=0x0000\\,axi_id\\=0x0069@", + "ScaleUnit": "9.765625e-4KB", + "Unit": "imx8_ddr", + "Compat": "i.MX8MP" + }, + { + "BriefDescription": "bytes of display lcdif2 write to ddr", + "MetricName": "imx8mp_ddr_write.lcdif2", + "MetricExpr": "imx8_ddr0@axid\\-write\\,axi_mask\\=0x0000\\,axi_id\\=0x0069@", + "ScaleUnit": "9.765625e-4KB", + "Unit": "imx8_ddr", + "Compat": "i.MX8MP" + }, + { + "BriefDescription": "bytes of display isi1 read from ddr", + "MetricName": "imx8mp_ddr_read.isi1", + "MetricExpr": "imx8_ddr0@axid\\-read\\,axi_mask\\=0x0000\\,axi_id\\=0x006a@", + "ScaleUnit": "9.765625e-4KB", + "Unit": "imx8_ddr", + "Compat": "i.MX8MP" + }, + { + "BriefDescription": "bytes of display isi1 write to ddr", + "MetricName": "imx8mp_ddr_write.isi1", + "MetricExpr": "imx8_ddr0@axid\\-write\\,axi_mask\\=0x0000\\,axi_id\\=0x006a@", + "ScaleUnit": "9.765625e-4KB", + "Unit": "imx8_ddr", + "Compat": "i.MX8MP" + }, + { + "BriefDescription": "bytes of display isi2 read from ddr", + "MetricName": "imx8mp_ddr_read.isi2", + "MetricExpr": "imx8_ddr0@axid\\-read\\,axi_mask\\=0x0000\\,axi_id\\=0x006b@", + "ScaleUnit": "9.765625e-4KB", + "Unit": "imx8_ddr", + "Compat": "i.MX8MP" + }, + { + "BriefDescription": "bytes of display isi2 write to ddr", + "MetricName": "imx8mp_ddr_write.isi2", + "MetricExpr": "imx8_ddr0@axid\\-write\\,axi_mask\\=0x0000\\,axi_id\\=0x006b@", + "ScaleUnit": "9.765625e-4KB", + "Unit": "imx8_ddr", + "Compat": "i.MX8MP" + }, + { + "BriefDescription": "bytes of display isi3 read from ddr", + "MetricName": "imx8mp_ddr_read.isi3", + "MetricExpr": "imx8_ddr0@axid\\-read\\,axi_mask\\=0x0000\\,axi_id\\=0x006c@", + "ScaleUnit": "9.765625e-4KB", + "Unit": "imx8_ddr", + "Compat": "i.MX8MP" + }, + { + "BriefDescription": "bytes of display isi3 write to ddr", + "MetricName": "imx8mp_ddr_write.isi3", + "MetricExpr": "imx8_ddr0@axid\\-write\\,axi_mask\\=0x0000\\,axi_id\\=0x006c@", + "ScaleUnit": "9.765625e-4KB", + "Unit": "imx8_ddr", + "Compat": "i.MX8MP" + }, + { + "BriefDescription": "bytes of display isp1 read from ddr", + "MetricName": "imx8mp_ddr_read.isp1", + "MetricExpr": "imx8_ddr0@axid\\-read\\,axi_mask\\=0x0000\\,axi_id\\=0x006d@", + "ScaleUnit": "9.765625e-4KB", + "Unit": "imx8_ddr", + "Compat": "i.MX8MP" + }, + { + "BriefDescription": "bytes of display isp1 write to ddr", + "MetricName": "imx8mp_ddr_write.isp1", + "MetricExpr": "imx8_ddr0@axid\\-write\\,axi_mask\\=0x0000\\,axi_id\\=0x006d@", + "MetricGroup": "imx8_ddr_DDR_MON", + "Unit": "imx8_ddr", + "Compat": "i.MX8MP" + }, + { + "BriefDescription": "bytes of display isp2 read from ddr", + "MetricName": "imx8mp_ddr_read.isp2", + "MetricExpr": "imx8_ddr0@axid\\-read\\,axi_mask\\=0x0000\\,axi_id\\=0x006e@", + "ScaleUnit": "9.765625e-4KB", + "Unit": "imx8_ddr", + "Compat": "i.MX8MP" + }, + { + "BriefDescription": "bytes of display isp2 write to ddr", + "MetricName": "imx8mp_ddr_write.isp2", + "MetricExpr": "imx8_ddr0@axid\\-write\\,axi_mask\\=0x0000\\,axi_id\\=0x006e@", + "ScaleUnit": "9.765625e-4KB", + "Unit": "imx8_ddr", + "Compat": "i.MX8MP" + }, + { + "BriefDescription": "bytes of display dewarp read from ddr", + "MetricName": "imx8mp_ddr_read.dewarp", + "MetricExpr": "imx8_ddr0@axid\\-read\\,axi_mask\\=0x0000\\,axi_id\\=0x006f@", + "ScaleUnit": "9.765625e-4KB", + "Unit": "imx8_ddr", + "Compat": "i.MX8MP" + }, + { + "BriefDescription": "bytes of display dewarp write to ddr", + "MetricName": "imx8mp_ddr_write.dewarp", + "MetricExpr": "imx8_ddr0@axid\\-write\\,axi_mask\\=0x0000\\,axi_id\\=0x006f@", + "ScaleUnit": "9.765625e-4KB", + "Unit": "imx8_ddr", + "Compat": "i.MX8MP" + }, + { + "BriefDescription": "bytes of vpu1 read from ddr", + "MetricName": "imx8mp_ddr_read.vpu1", + "MetricExpr": "imx8_ddr0@axid\\-read\\,axi_mask\\=0x0000\\,axi_id\\=0x007c@", + "ScaleUnit": "9.765625e-4KB", + "Unit": "imx8_ddr", + "Compat": "i.MX8MP" + }, + { + "BriefDescription": "bytes of vpu1 write to ddr", + "MetricName": "imx8mp_ddr_write.vpu1", + "MetricExpr": "imx8_ddr0@axid\\-write\\,axi_mask\\=0x0000\\,axi_id\\=0x007c@", + "ScaleUnit": "9.765625e-4KB", + "Unit": "imx8_ddr", + "Compat": "i.MX8MP" + }, + { + "BriefDescription": "bytes of vpu2 read from ddr", + "MetricName": "imx8mp_ddr_read.vpu2", + "MetricExpr": "imx8_ddr0@axid\\-read\\,axi_mask\\=0x0000\\,axi_id\\=0x007d@", + "ScaleUnit": "9.765625e-4KB", + "Unit": "imx8_ddr", + "Compat": "i.MX8MP" + }, + { + "BriefDescription": "bytes of vpu2 write to ddr", + "MetricName": "imx8mp_ddr_write.vpu2", + "MetricExpr": "imx8_ddr0@axid\\-write\\,axi_mask\\=0x0000\\,axi_id\\=0x007d@", + "ScaleUnit": "9.765625e-4KB", + "Unit": "imx8_ddr", + "Compat": "i.MX8MP" + }, + { + "BriefDescription": "bytes of vpu3 read from ddr", + "MetricName": "imx8mp_ddr_read.vpu3", + "MetricExpr": "imx8_ddr0@axid\\-read\\,axi_mask\\=0x0000\\,axi_id\\=0x007e@", + "ScaleUnit": "9.765625e-4KB", + "Unit": "imx8_ddr", + "Compat": "i.MX8MP" + }, + { + "BriefDescription": "bytes of vpu3 write to ddr", + "MetricName": "imx8mp_ddr_write.vpu3", + "MetricExpr": "imx8_ddr0@axid\\-write\\,axi_mask\\=0x0000\\,axi_id\\=0x007e@", + "ScaleUnit": "9.765625e-4KB", + "Unit": "imx8_ddr", + "Compat": "i.MX8MP" + }, + { + "BriefDescription": "bytes of npu read from ddr", + "MetricName": "imx8mp_ddr_read.npu", + "MetricExpr": "imx8_ddr0@axid\\-read\\,axi_mask\\=0x0000\\,axi_id\\=0x0073@", + "ScaleUnit": "9.765625e-4KB", + "Unit": "imx8_ddr", + "Compat": "i.MX8MP" + }, + { + "BriefDescription": "bytes of npu write to ddr", + "MetricName": "imx8mp_ddr_write.npu", + "MetricExpr": "imx8_ddr0@axid\\-write\\,axi_mask\\=0x0000\\,axi_id\\=0x0073@", + "ScaleUnit": "9.765625e-4KB", + "Unit": "imx8_ddr", + "Compat": "i.MX8MP" + }, + { + "BriefDescription": "bytes of hsio usb1 read from ddr", + "MetricName": "imx8mp_ddr_read.usb1", + "MetricExpr": "imx8_ddr0@axid\\-read\\,axi_mask\\=0x0000\\,axi_id\\=0x0078@", + "ScaleUnit": "9.765625e-4KB", + "Unit": "imx8_ddr", + "Compat": "i.MX8MP" + }, + { + "BriefDescription": "bytes of hsio usb1 write to ddr", + "MetricName": "imx8mp_ddr_write.usb1", + "MetricExpr": "imx8_ddr0@axid\\-write\\,axi_mask\\=0x0000\\,axi_id\\=0x0078@", + "ScaleUnit": "9.765625e-4KB", + "Unit": "imx8_ddr", + "Compat": "i.MX8MP" + }, + { + "BriefDescription": "bytes of hsio usb2 read from ddr", + "MetricName": "imx8mp_ddr_read.usb2", + "MetricExpr": "imx8_ddr0@axid\\-read\\,axi_mask\\=0x0000\\,axi_id\\=0x0079@", + "ScaleUnit": "9.765625e-4KB", + "Unit": "imx8_ddr", + "Compat": "i.MX8MP" + }, + { + "BriefDescription": "bytes of hsio usb2 write to ddr", + "MetricName": "imx8mp_ddr_write.usb2", + "MetricExpr": "imx8_ddr0@axid\\-write\\,axi_mask\\=0x0000\\,axi_id\\=0x0079@", + "ScaleUnit": "9.765625e-4KB", + "Unit": "imx8_ddr", + "Compat": "i.MX8MP" + }, + { + "BriefDescription": "bytes of hsio pci read from ddr", + "MetricName": "imx8mp_ddr_read.pci", + "MetricExpr": "imx8_ddr0@axid\\-read\\,axi_mask\\=0x0000\\,axi_id\\=0x007a@", + "ScaleUnit": "9.765625e-4KB", + "Unit": "imx8_ddr", + "Compat": "i.MX8MP" + }, + { + "BriefDescription": "bytes of hsio pci write to ddr", + "MetricName": "imx8mp_ddr_write.pci", + "MetricExpr": "imx8_ddr0@axid\\-write\\,axi_mask\\=0x0000\\,axi_id\\=0x007a@", + "ScaleUnit": "9.765625e-4KB", + "Unit": "imx8_ddr", + "Compat": "i.MX8MP" + }, + { + "BriefDescription": "bytes of hdmi_tx hrv_mwr read from ddr", + "MetricName": "imx8mp_ddr_read.hdmi_hrv_mwr", + "MetricExpr": "imx8_ddr0@axid\\-read\\,axi_mask\\=0x0000\\,axi_id\\=0x0074@", + "ScaleUnit": "9.765625e-4KB", + "Unit": "imx8_ddr", + "Compat": "i.MX8MP" + }, + { + "BriefDescription": "bytes of hdmi_tx hrv_mwr write to ddr", + "MetricName": "imx8mp_ddr_write.hdmi_hrv_mwr", + "MetricExpr": "imx8_ddr0@axid\\-write\\,axi_mask\\=0x0000\\,axi_id\\=0x0074@", + "ScaleUnit": "9.765625e-4KB", + "Unit": "imx8_ddr", + "Compat": "i.MX8MP" + }, + { + "BriefDescription": "bytes of hdmi_tx lcdif read from ddr", + "MetricName": "imx8mp_ddr_read.hdmi_lcdif", + "MetricExpr": "imx8_ddr0@axid\\-read\\,axi_mask\\=0x0000\\,axi_id\\=0x0075@", + "ScaleUnit": "9.765625e-4KB", + "Unit": "imx8_ddr", + "Compat": "i.MX8MP" + }, + { + "BriefDescription": "bytes of hdmi_tx lcdif write to ddr", + "MetricName": "imx8mp_ddr_write.hdmi_lcdif", + "MetricExpr": "imx8_ddr0@axid\\-write\\,axi_mask\\=0x0000\\,axi_id\\=0x0075@", + "ScaleUnit": "9.765625e-4KB", + "Unit": "imx8_ddr", + "Compat": "i.MX8MP" + }, + { + "BriefDescription": "bytes of hdmi_tx tx_hdcp read from ddr", + "MetricName": "imx8mp_ddr_read.hdmi_hdcp", + "MetricExpr": "imx8_ddr0@axid\\-read\\,axi_mask\\=0x0000\\,axi_id\\=0x0076@", + "ScaleUnit": "9.765625e-4KB", + "Unit": "imx8_ddr", + "Compat": "i.MX8MP" + }, + { + "BriefDescription": "bytes of hdmi_tx tx_hdcp write to ddr", + "MetricName": "imx8mp_ddr_write.hdmi_hdcp", + "MetricExpr": "imx8_ddr0@axid\\-write\\,axi_mask\\=0x0000\\,axi_id\\=0x0076@", + "ScaleUnit": "9.765625e-4KB", + "Unit": "imx8_ddr", + "Compat": "i.MX8MP" + }, + { + "BriefDescription": "bytes of audio dsp read from ddr", + "MetricName": "imx8mp_ddr_read.audio_dsp", + "MetricExpr": "imx8_ddr0@axid\\-read\\,axi_mask\\=0x0000\\,axi_id\\=0x0041@", + "ScaleUnit": "9.765625e-4KB", + "Unit": "imx8_ddr", + "Compat": "i.MX8MP" + }, + { + "BriefDescription": "bytes of audio dsp write to ddr", + "MetricName": "imx8mp_ddr_write.audio_dsp", + "MetricExpr": "imx8_ddr0@axid\\-write\\,axi_mask\\=0x0000\\,axi_id\\=0x0041@", + "ScaleUnit": "9.765625e-4KB", + "Unit": "imx8_ddr", + "Compat": "i.MX8MP" + }, + { + "BriefDescription": "bytes of audio sdma2_per read from ddr", + "MetricName": "imx8mp_ddr_read.audio_sdma2_per", + "MetricExpr": "imx8_ddr0@axid\\-read\\,axi_mask\\=0x0000\\,axi_id\\=0x0062@", + "ScaleUnit": "9.765625e-4KB", + "Unit": "imx8_ddr", + "Compat": "i.MX8MP" + }, + { + "BriefDescription": "bytes of audio sdma2_per write to ddr", + "MetricName": "imx8mp_ddr_write.audio_sdma2_per", + "MetricExpr": "imx8_ddr0@axid\\-write\\,axi_mask\\=0x0000\\,axi_id\\=0x0062@", + "ScaleUnit": "9.765625e-4KB", + "Unit": "imx8_ddr", + "Compat": "i.MX8MP" + }, + { + "BriefDescription": "bytes of audio sdma2_burst read from ddr", + "MetricName": "imx8mp_ddr_read.audio_sdma2_burst", + "MetricExpr": "imx8_ddr0@axid\\-read\\,axi_mask\\=0x0000\\,axi_id\\=0x0063@", + "ScaleUnit": "9.765625e-4KB", + "Unit": "imx8_ddr", + "Compat": "i.MX8MP" + }, + { + "BriefDescription": "bytes of audio sdma2_burst write to ddr", + "MetricName": "imx8mp_ddr_write.audio_sdma2_burst", + "MetricExpr": "imx8_ddr0@axid\\-write\\,axi_mask\\=0x0000\\,axi_id\\=0x0063@", + "ScaleUnit": "9.765625e-4KB", + "Unit": "imx8_ddr", + "Compat": "i.MX8MP" + }, + { + "BriefDescription": "bytes of audio sdma3_per read from ddr", + "MetricName": "imx8mp_ddr_read.audio_sdma3_per", + "MetricExpr": "imx8_ddr0@axid\\-read\\,axi_mask\\=0x0000\\,axi_id\\=0x0064@", + "ScaleUnit": "9.765625e-4KB", + "Unit": "imx8_ddr", + "Compat": "i.MX8MP" + }, + { + "BriefDescription": "bytes of audio sdma3_per write to ddr", + "MetricName": "imx8mp_ddr_write.audio_sdma3_per", + "MetricExpr": "imx8_ddr0@axid\\-write\\,axi_mask\\=0x0000\\,axi_id\\=0x0064@", + "ScaleUnit": "9.765625e-4KB", + "Unit": "imx8_ddr", + "Compat": "i.MX8MP" + }, + { + "BriefDescription": "bytes of audio sdma3_burst read from ddr", + "MetricName": "imx8mp_ddr_read.audio_sdma3_burst", + "MetricExpr": "imx8_ddr0@axid\\-read\\,axi_mask\\=0x0000\\,axi_id\\=0x0065@", + "ScaleUnit": "9.765625e-4KB", + "Unit": "imx8_ddr", + "Compat": "i.MX8MP" + }, + { + "BriefDescription": "bytes of audio sdma3_burst write to ddr", + "MetricName": "imx8mp_ddr_write.audio_sdma3_burst", + "MetricExpr": "imx8_ddr0@axid\\-write\\,axi_mask\\=0x0000\\,axi_id\\=0x0065@", + "ScaleUnit": "9.765625e-4KB", + "Unit": "imx8_ddr", + "Compat": "i.MX8MP" + }, + { + "BriefDescription": "bytes of audio sdma_pif read from ddr", + "MetricName": "imx8mp_ddr_read.audio_sdma_pif", + "MetricExpr": "imx8_ddr0@axid\\-read\\,axi_mask\\=0x0000\\,axi_id\\=0x0066@", + "ScaleUnit": "9.765625e-4KB", + "Unit": "imx8_ddr", + "Compat": "i.MX8MP" + }, + { + "BriefDescription": "bytes of audio sdma_pif write to ddr", + "MetricName": "imx8mp_ddr_write.audio_sdma_pif", + "MetricExpr": "imx8_ddr0@axid\\-write\\,axi_mask\\=0x0000\\,axi_id\\=0x0066@", + "ScaleUnit": "9.765625e-4KB", + "Unit": "imx8_ddr", + "Compat": "i.MX8MP" + } +]