Skip to contentSkip to conversation

perf vendor events arm64: AmpereOne/AmpereOneX: Fix typos

PATCH Applied TAKANO Mitsuhiro 3 participants 3 messages Nov 7 – Nov 11

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 perf vendor events arm64: AmpereOne/AmpereOneX: Fix typos

Three distinct words are misspelled in eight description fields in the AmpereOne and AmpereOneX PMU tables: "Preditable" in BPU_BTB_UPDATE (AmpereOneX only), "satisified" in LD_FROM_ST_FWD, and "misprediciton" in the branch_mispredict metric. jevents.py copies the strings into the generated tables, so perf list prints them and a grep for the correct spelling misses the entries.

Fix both fields where an entry has them; the metrics entries carry only a brief description. No event code, metric expression or reported value changes, and the generated tables are not tracked, so the diff is JSON only. ISTALL - the other codespell hit here - is the ETM stall-control bit name, left alone.

Written with Hermes Agent, an LLM assistant. Running jevents.py on this change produces none of the three words; perf was not rebuilt, so the perf list output was not checked.

---
 .../arch/arm64/ampere/ampereone/core-imp-def.json         | 4 ++--
 .../pmu-events/arch/arm64/ampere/ampereone/metrics.json   | 2 +-
 .../arch/arm64/ampere/ampereonex/core-imp-def.json        | 8 ++++----
 .../pmu-events/arch/arm64/ampere/ampereonex/metrics.json  | 2 +-
 4 files changed, 8 insertions(+), 8 deletions(-)
tools/perf/pmu-events/arch/arm64/ampere/ampereone/core-imp-def.json +2 -2
index 879ff21e0b17..5a82a7717060 100644
@@ -450,10 +450,10 @@
         "BriefDescription": "OFB full cycles"
     },
     {
-        "PublicDescription": "Load satisified from store forwarded data",
+        "PublicDescription": "Load satisfied from store forwarded data",
         "EventCode": "0xD605",
         "EventName": "LD_FROM_ST_FWD",
-        "BriefDescription": "Load satisified from store forwarded data"
+        "BriefDescription": "Load satisfied from store forwarded data"
     },
     {
         "PublicDescription": "L1 prefetcher, load prefetch requests generated",
tools/perf/pmu-events/arch/arm64/ampere/ampereone/metrics.json +1 -1
index 324104438e78..76cdf38b1e58 100644
@@ -260,7 +260,7 @@
     {
         "MetricName": "branch_mispredict",
         "MetricExpr": "(BR_MIS_PRED_RETIRED / GPC_FLUSH) * slots_lost_misspeculation_fraction",
-        "BriefDescription": "Fraction of slots lost due to branch misprediciton",
+        "BriefDescription": "Fraction of slots lost due to branch misprediction",
         "MetricGroup": "TopdownL2",
         "ScaleUnit": "1percent of slots"
     },
tools/perf/pmu-events/arch/arm64/ampere/ampereonex/core-imp-def.json +4 -4
index eb5a2208d260..558b13fd7d0d 100644
@@ -84,10 +84,10 @@
         "BriefDescription": "Predictable branch speculatively executed, unpredicted, that mispredict"
     },
     {
-        "PublicDescription": "Preditable branch update the BTB region buffer entry",
+        "PublicDescription": "Predictable branch update the BTB region buffer entry",
         "EventCode": "0x11c",
         "EventName": "BPU_BTB_UPDATE",
-        "BriefDescription": "Preditable branch update the BTB region buffer entry"
+        "BriefDescription": "Predictable branch update the BTB region buffer entry"
     },
     {
         "PublicDescription": "Count predict pipe stalls due to speculative return address predictor full",
@@ -438,10 +438,10 @@
         "BriefDescription": "Fill buffer full"
     },
     {
-        "PublicDescription": "Load satisified from store forwarded data",
+        "PublicDescription": "Load satisfied from store forwarded data",
         "EventCode": "0xD605",
         "EventName": "LD_FROM_ST_FWD",
-        "BriefDescription": "Load satisified from store forwarded data"
+        "BriefDescription": "Load satisfied from store forwarded data"
     },
     {
         "PublicDescription": "Store retirement pipe stall",
tools/perf/pmu-events/arch/arm64/ampere/ampereonex/metrics.json +1 -1
index a29aadc9b2e3..a0dc917b9462 100644
@@ -260,7 +260,7 @@
     {
         "MetricName": "branch_mispredict",
         "MetricExpr": "(BR_MIS_PRED_RETIRED / GPC_FLUSH) * slots_lost_misspeculation_fraction",
-        "BriefDescription": "Fraction of slots lost due to branch misprediciton",
+        "BriefDescription": "Fraction of slots lost due to branch misprediction",
         "MetricGroup": "TopdownL2",
         "ScaleUnit": "1percent of slots"
     },

base-commit: d48723711bae9b8cdc56719c448ba42fef28cbee

Signature · 1 line
2.53.0
#1 lore raw
Sashiko has reviewed this patch and found no issues.
Quoted 13 lines

Three distinct words are misspelled in eight description fields in the AmpereOne and AmpereOneX PMU tables: "Preditable" in BPU_BTB_UPDATE (AmpereOneX only), "satisified" in LD_FROM_ST_FWD, and "misprediciton" in the branch_mispredict metric. jevents.py copies the strings into the generated tables, so perf list prints them and a grep for the correct spelling misses the entries.

Fix both fields where an entry has them; the metrics entries carry only a brief description. No event code, metric expression or reported value changes, and the generated tables are not tracked, so the diff is JSON only. ISTALL - the other codespell hit here - is the ETM stall-control bit name, left alone.

Quoted 5 lines

Written with Hermes Agent, an LLM assistant. Running jevents.py on this change produces none of the three words; perf was not rebuilt, so the perf list output was not checked.

Sashiko has reviewed this patch and found no issues.

Signature · 1 line
Sashiko AI review · https://sashiko.dev/#/patchset/[email protected]?part=1
maintainer Applied
#2 lore raw
In reply to TAKANO Mitsuhiro
Quoted 8 lines · TAKANO Mitsuhiro

Three distinct words are misspelled in eight description fields in the AmpereOne and AmpereOneX PMU tables: "Preditable" in BPU_BTB_UPDATE (AmpereOneX only), "satisified" in LD_FROM_ST_FWD, and "misprediciton" in the branch_mispredict metric. jevents.py copies the strings into the generated tables, so perf list prints them and a grep for the correct spelling misses the entries.

[...]

Applied to perf-tools-next, thanks!

Best regards
Namhyung