Received: by 2002:a05:6358:489b:b0:bb:da1:e618 with SMTP id x27csp483051rwn; Thu, 8 Sep 2022 04:49:07 -0700 (PDT) X-Google-Smtp-Source: AA6agR4UAjo7YYFR8Av78sxbzq/DoD7rlgXFu4eszQee98DNS9iGDrI7uUmyH4IX3hJYlBLSjtiK X-Received: by 2002:a05:6402:2989:b0:44e:90d0:b9ff with SMTP id eq9-20020a056402298900b0044e90d0b9ffmr6741728edb.110.1662637747371; Thu, 08 Sep 2022 04:49:07 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1662637747; cv=none; d=google.com; s=arc-20160816; b=0B4tLu/iDsNUCp4MbgcxXiUbbSmGGGMOfktqPGCT10kITzn/tF6jK2ojSY9vp7gEUe pdLfQtgVXdsqYsIrYzBCnvZEEg3xU5TdL8sw6NvVUnAcSGpIotD7UobQ8MpCrw5H1ENY An4bPHjeFrQ/bVxT48PGib5bc3ijfkHhdByXWwagI9glOZYma6zAUcsOB0PAp55saOS3 TmE6Bx5o+TJTjSqVVx83739YP5k8la5RYlwoKPM9tDzqoBlPmKySZofoLF41xuCeZT0F wHixB+jqYgfZCHZ06xiecP7X3qRo0iMjQ70/dn6KkrX1IOV7U1bwJmowlLe9bRP0Djz2 +Aog== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from; bh=1cB2zfB9EVwVQbBn7FNqriJRCYXR2q8GyHmEdXXcruk=; b=YL5etZASE5RgjJJ2E4RRUnarXBS0xH3D+fftnciBlK6MPBX2tud6Y6sSFRnJtX0oAe zdStnTyxMVxTGkDEzjMsQespavHaR5K6ydIRz151FXnNWgCFCPmQIGWZwsd8Nwa1d2RK Fv9PcBOpcSSwV9gWQxy40aapIFeutHfupf7qyT8PmLVjHULJ80it8C34jIT4Y1yjWu3x quKDO5rKuc1E5EoZ5eS39KQ2VvLPHG0wYI0vAeymHfqaOcc2cCfFMs7DEEL/O0ZuDs1f OQlgwORl5bbOhJK+kNDtob+XF6SyTa5XeH3PSR1pkYkQ7SFSHjonU1kkGwWVWdT6nDMI 2JmQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=arm.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id d1-20020a1709067f0100b0073065ea79bfsi1607813ejr.528.2022.09.08.04.48.41; Thu, 08 Sep 2022 04:49:07 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=arm.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229761AbiIHLZi (ORCPT + 99 others); Thu, 8 Sep 2022 07:25:38 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50956 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230526AbiIHLZd (ORCPT ); Thu, 8 Sep 2022 07:25:33 -0400 Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id E5BCA4CA01; Thu, 8 Sep 2022 04:25:29 -0700 (PDT) Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id F3F1514BF; Thu, 8 Sep 2022 04:25:35 -0700 (PDT) Received: from hype-n1-sdp.warwick.arm.com (hype-n1-sdp.warwick.arm.com [10.32.32.32]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPA id BEB9A3F71A; Thu, 8 Sep 2022 04:25:27 -0700 (PDT) From: Nick Forrington To: linux-kernel@vger.kernel.org, linux-perf-users@vger.kernel.org, acme@kernel.org Cc: Nick Forrington , John Garry , Will Deacon , James Clark , Mike Leach , Leo Yan , Mark Rutland , Alexander Shishkin , Jiri Olsa , Namhyung Kim , linux-arm-kernel@lists.infradead.org Subject: [PATCH] perf vendor events arm64: Move REMOTE_ACCESS to "memory" category Date: Thu, 8 Sep 2022 12:25:18 +0100 Message-Id: <20220908112519.64614-1-nick.forrington@arm.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-6.9 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_NONE,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Move REMOTE_ACCESS event from other.json to memory.json for Neoverse CPUs. This is consistent with other Arm (Cortex) CPUs. Signed-off-by: Nick Forrington --- .../perf/pmu-events/arch/arm64/arm/cortex-a76-n1/memory.json | 3 +++ .../perf/pmu-events/arch/arm64/arm/cortex-a76-n1/other.json | 5 ----- tools/perf/pmu-events/arch/arm64/arm/neoverse-n2/memory.json | 3 +++ tools/perf/pmu-events/arch/arm64/arm/neoverse-n2/other.json | 5 ----- tools/perf/pmu-events/arch/arm64/arm/neoverse-v1/memory.json | 3 +++ tools/perf/pmu-events/arch/arm64/arm/neoverse-v1/other.json | 5 ----- 6 files changed, 9 insertions(+), 15 deletions(-) delete mode 100644 tools/perf/pmu-events/arch/arm64/arm/cortex-a76-n1/other.json delete mode 100644 tools/perf/pmu-events/arch/arm64/arm/neoverse-n2/other.json delete mode 100644 tools/perf/pmu-events/arch/arm64/arm/neoverse-v1/other.json diff --git a/tools/perf/pmu-events/arch/arm64/arm/cortex-a76-n1/memory.json b/tools/perf/pmu-events/arch/arm64/arm/cortex-a76-n1/memory.json index 20a929e7728d..5bed2514b245 100644 --- a/tools/perf/pmu-events/arch/arm64/arm/cortex-a76-n1/memory.json +++ b/tools/perf/pmu-events/arch/arm64/arm/cortex-a76-n1/memory.json @@ -3,6 +3,9 @@ "PublicDescription": "This event counts memory accesses due to load or store instructions. This event counts the sum of MEM_ACCESS_RD and MEM_ACCESS_WR.", "ArchStdEvent": "MEM_ACCESS" }, + { + "ArchStdEvent": "REMOTE_ACCESS" + }, { "ArchStdEvent": "MEM_ACCESS_RD" }, diff --git a/tools/perf/pmu-events/arch/arm64/arm/cortex-a76-n1/other.json b/tools/perf/pmu-events/arch/arm64/arm/cortex-a76-n1/other.json deleted file mode 100644 index 20d8365756c5..000000000000 --- a/tools/perf/pmu-events/arch/arm64/arm/cortex-a76-n1/other.json +++ /dev/null @@ -1,5 +0,0 @@ -[ - { - "ArchStdEvent": "REMOTE_ACCESS" - } -] diff --git a/tools/perf/pmu-events/arch/arm64/arm/neoverse-n2/memory.json b/tools/perf/pmu-events/arch/arm64/arm/neoverse-n2/memory.json index e522113aeb96..7b2b21ac150f 100644 --- a/tools/perf/pmu-events/arch/arm64/arm/neoverse-n2/memory.json +++ b/tools/perf/pmu-events/arch/arm64/arm/neoverse-n2/memory.json @@ -2,6 +2,9 @@ { "ArchStdEvent": "MEM_ACCESS" }, + { + "ArchStdEvent": "REMOTE_ACCESS" + }, { "ArchStdEvent": "MEM_ACCESS_RD" }, diff --git a/tools/perf/pmu-events/arch/arm64/arm/neoverse-n2/other.json b/tools/perf/pmu-events/arch/arm64/arm/neoverse-n2/other.json deleted file mode 100644 index 20d8365756c5..000000000000 --- a/tools/perf/pmu-events/arch/arm64/arm/neoverse-n2/other.json +++ /dev/null @@ -1,5 +0,0 @@ -[ - { - "ArchStdEvent": "REMOTE_ACCESS" - } -] diff --git a/tools/perf/pmu-events/arch/arm64/arm/neoverse-v1/memory.json b/tools/perf/pmu-events/arch/arm64/arm/neoverse-v1/memory.json index e3d08f1f7c92..5aff6e93c1ad 100644 --- a/tools/perf/pmu-events/arch/arm64/arm/neoverse-v1/memory.json +++ b/tools/perf/pmu-events/arch/arm64/arm/neoverse-v1/memory.json @@ -2,6 +2,9 @@ { "ArchStdEvent": "MEM_ACCESS" }, + { + "ArchStdEvent": "REMOTE_ACCESS" + }, { "ArchStdEvent": "MEM_ACCESS_RD" }, diff --git a/tools/perf/pmu-events/arch/arm64/arm/neoverse-v1/other.json b/tools/perf/pmu-events/arch/arm64/arm/neoverse-v1/other.json deleted file mode 100644 index 20d8365756c5..000000000000 --- a/tools/perf/pmu-events/arch/arm64/arm/neoverse-v1/other.json +++ /dev/null @@ -1,5 +0,0 @@ -[ - { - "ArchStdEvent": "REMOTE_ACCESS" - } -] -- 2.25.1