[PATCH v1 3/5] perf pmu-events: Remove duplicated ampereone event

Ian Rogers
2024-08-05T19:45:47Z

OP_SPEC 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@google.com>
---
.../pmu-events/arch/arm64/ampere/ampereone/instruction.json | 3 ---
1 file changed, 3 deletions(-)

diff --git a/tools/perf/pmu-events/arch/arm64/ampere/ampereone/instruction.json b/tools/perf/pmu-events/arch/arm64/ampere/ampereone/instruction.json
index 18d1f2f76a23..9fe697d12fe0 100644
--- a/tools/perf/pmu-events/arch/arm64/ampere/ampereone/instruction.json
+++ b/tools/perf/pmu-events/arch/arm64/ampere/ampereone/instruction.json
@@ -77,9 +77,6 @@
{
"ArchStdEvent": "OP_RETIRED"
},
- {
- "ArchStdEvent": "OP_SPEC"
- },
{
"PublicDescription": "Operation speculatively executed, NOP",
"EventCode": "0x100",
--
2.46.0.rc2.264.g509ed76dc8-goog