perf vendor events arm64: AmpereOne/AmpereOneX: Fix typos
Subsystems (2)
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
@@ -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
@@ -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
@@ -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
@@ -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
[email protected]
AI reviewSashiko 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" inLD_FROM_ST_FWD, and "misprediciton" in thebranch_mispredictmetric.jevents.pycopies 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.pyon this change produces none of the three words; perf was not rebuilt, so the perf list output was not checked.Signed-off-by TAKANO Mitsuhiro <[email protected]>
Sashiko has reviewed this patch and found no issues.
Signature · 1 line
Sashiko AI review · https://sashiko.dev/#/patchset/[email protected]?part=1
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" inLD_FROM_ST_FWD, and "misprediciton" in thebranch_mispredictmetric.jevents.pycopies 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