[PATCH v1 4/5] perf pmu-events: Remove duplicated riscv firmware event
Ian Rogers
irogers at google.com
Mon Aug 5 12:44:23 PDT 2024
FW_SFENCE_VMA_RECEIVED is repeated twice in the file which will break
invariants in perf list as discussed in this thread:
https://lore.kernel.org/linux-perf-users/20240719081651.24853-1-eric.lin@sifive.com/
Signed-off-by: Ian Rogers <irogers at google.com>
---
tools/perf/pmu-events/arch/riscv/andes/ax45/firmware.json | 3 ---
tools/perf/pmu-events/arch/riscv/sifive/u74/firmware.json | 3 ---
.../perf/pmu-events/arch/riscv/starfive/dubhe-80/firmware.json | 3 ---
.../perf/pmu-events/arch/riscv/thead/c900-legacy/firmware.json | 3 ---
4 files changed, 12 deletions(-)
diff --git a/tools/perf/pmu-events/arch/riscv/andes/ax45/firmware.json b/tools/perf/pmu-events/arch/riscv/andes/ax45/firmware.json
index 9b4a032186a7..5a996fa4b837 100644
--- a/tools/perf/pmu-events/arch/riscv/andes/ax45/firmware.json
+++ b/tools/perf/pmu-events/arch/riscv/andes/ax45/firmware.json
@@ -35,9 +35,6 @@
{
"ArchStdEvent": "FW_SFENCE_VMA_RECEIVED"
},
- {
- "ArchStdEvent": "FW_SFENCE_VMA_RECEIVED"
- },
{
"ArchStdEvent": "FW_SFENCE_VMA_ASID_RECEIVED"
},
diff --git a/tools/perf/pmu-events/arch/riscv/sifive/u74/firmware.json b/tools/perf/pmu-events/arch/riscv/sifive/u74/firmware.json
index 9b4a032186a7..5a996fa4b837 100644
--- a/tools/perf/pmu-events/arch/riscv/sifive/u74/firmware.json
+++ b/tools/perf/pmu-events/arch/riscv/sifive/u74/firmware.json
@@ -35,9 +35,6 @@
{
"ArchStdEvent": "FW_SFENCE_VMA_RECEIVED"
},
- {
- "ArchStdEvent": "FW_SFENCE_VMA_RECEIVED"
- },
{
"ArchStdEvent": "FW_SFENCE_VMA_ASID_RECEIVED"
},
diff --git a/tools/perf/pmu-events/arch/riscv/starfive/dubhe-80/firmware.json b/tools/perf/pmu-events/arch/riscv/starfive/dubhe-80/firmware.json
index 9b4a032186a7..5a996fa4b837 100644
--- a/tools/perf/pmu-events/arch/riscv/starfive/dubhe-80/firmware.json
+++ b/tools/perf/pmu-events/arch/riscv/starfive/dubhe-80/firmware.json
@@ -35,9 +35,6 @@
{
"ArchStdEvent": "FW_SFENCE_VMA_RECEIVED"
},
- {
- "ArchStdEvent": "FW_SFENCE_VMA_RECEIVED"
- },
{
"ArchStdEvent": "FW_SFENCE_VMA_ASID_RECEIVED"
},
diff --git a/tools/perf/pmu-events/arch/riscv/thead/c900-legacy/firmware.json b/tools/perf/pmu-events/arch/riscv/thead/c900-legacy/firmware.json
index 9b4a032186a7..5a996fa4b837 100644
--- a/tools/perf/pmu-events/arch/riscv/thead/c900-legacy/firmware.json
+++ b/tools/perf/pmu-events/arch/riscv/thead/c900-legacy/firmware.json
@@ -35,9 +35,6 @@
{
"ArchStdEvent": "FW_SFENCE_VMA_RECEIVED"
},
- {
- "ArchStdEvent": "FW_SFENCE_VMA_RECEIVED"
- },
{
"ArchStdEvent": "FW_SFENCE_VMA_ASID_RECEIVED"
},
--
2.46.0.rc2.264.g509ed76dc8-goog
More information about the linux-riscv
mailing list