[PATCH] perf vendor events arm64: Fix typos in event descriptions
James Clark
james.clark at linaro.org
Mon Nov 9 02:20:25 PST 2026
On 08/11/2026 18:46, TAKANO Mitsuhiro wrote:
> Six entries in common-and-microarch.json spell Statistical as "Statisical"
> (the SAMPLE_FEED_* events), and one entry in the Fujitsu a64fx table, the
> L2HWPF_STREAM_PF event, spells prefetcher as "prefecher" in both its
> BriefDescription and its PublicDescription.
>
> The SAMPLE_FEED_* events are inherited through ArchStdEvent by the
> neoverse-n3, neoverse-v3 and t410 tables, so the misspelling reaches those
> three generated tables. The a64fx pair appears once, because the long
> description is dropped when it equals the brief one.
>
> Spell the words correctly. Event names, codes and expressions are
> unchanged.
>
> Written with Hermes Agent, an LLM assistant. Running jevents.py for arm64
> before and after this change removes 12 occurrences of "Statisical" and the
> one "prefecher" from the generated string table; perf was not rebuilt.
>
> Fixes: 994256a79867 ("perf vendor events arm64: Add N3 events/metrics")
> Fixes: 5497b23e870c ("perf vendor events arm64: Add Fujitsu A64FX pmu event")
> Signed-off-by: TAKANO Mitsuhiro <takano32 at gmail.com>
> ---
> .../pmu-events/arch/arm64/common-and-microarch.json | 12 ++++++------
> .../pmu-events/arch/arm64/fujitsu/a64fx/other.json | 4 ++--
> 2 files changed, 8 insertions(+), 8 deletions(-)
>
> diff --git a/tools/perf/pmu-events/arch/arm64/common-and-microarch.json b/tools/perf/pmu-events/arch/arm64/common-and-microarch.json
> index 144325d87be4..c61d6c0ceb4f 100644
> --- a/tools/perf/pmu-events/arch/arm64/common-and-microarch.json
> +++ b/tools/perf/pmu-events/arch/arm64/common-and-microarch.json
> @@ -1340,32 +1340,32 @@
> {
> "EventCode": "0x812A",
> "EventName": "SAMPLE_FEED_BR",
> - "BriefDescription": "Statisical Profiling sample taken, branch"
> + "BriefDescription": "Statistical Profiling sample taken, branch"
> },
> {
> "EventCode": "0x812B",
> "EventName": "SAMPLE_FEED_LD",
> - "BriefDescription": "Statisical Profiling sample taken, load"
> + "BriefDescription": "Statistical Profiling sample taken, load"
> },
> {
> "EventCode": "0x812C",
> "EventName": "SAMPLE_FEED_ST",
> - "BriefDescription": "Statisical Profiling sample taken, store"
> + "BriefDescription": "Statistical Profiling sample taken, store"
> },
> {
> "EventCode": "0x812D",
> "EventName": "SAMPLE_FEED_OP",
> - "BriefDescription": "Statisical Profiling sample taken, matching operation type"
> + "BriefDescription": "Statistical Profiling sample taken, matching operation type"
> },
> {
> "EventCode": "0x812E",
> "EventName": "SAMPLE_FEED_EVENT",
> - "BriefDescription": "Statisical Profiling sample taken, matching events"
> + "BriefDescription": "Statistical Profiling sample taken, matching events"
> },
> {
> "EventCode": "0x812F",
> "EventName": "SAMPLE_FEED_LAT",
> - "BriefDescription": "Statisical Profiling sample taken, exceeding minimum latency"
> + "BriefDescription": "Statistical Profiling sample taken, exceeding minimum latency"
> },
> {
> "EventCode": "0x8130",
> diff --git a/tools/perf/pmu-events/arch/arm64/fujitsu/a64fx/other.json b/tools/perf/pmu-events/arch/arm64/fujitsu/a64fx/other.json
> index 10c823ac26cc..6fa2936e427d 100644
> --- a/tools/perf/pmu-events/arch/arm64/fujitsu/a64fx/other.json
> +++ b/tools/perf/pmu-events/arch/arm64/fujitsu/a64fx/other.json
> @@ -162,10 +162,10 @@
> "BriefDescription": "This event counts non-allocation type prefetch injection requests to L1D cache generated by hardware prefetcher."
> },
> {
> - "PublicDescription": "This event counts streaming prefetch requests to L2 cache generated by hardware prefecher.",
> + "PublicDescription": "This event counts streaming prefetch requests to L2 cache generated by hardware prefetcher.",
> "EventCode": "0x233",
> "EventName": "L2HWPF_STREAM_PF",
> - "BriefDescription": "This event counts streaming prefetch requests to L2 cache generated by hardware prefecher."
> + "BriefDescription": "This event counts streaming prefetch requests to L2 cache generated by hardware prefetcher."
> },
> {
> "PublicDescription": "This event counts allocation type prefetch injection requests to L2 cache generated by hardware prefetcher.",
>
> base-commit: d48723711bae9b8cdc56719c448ba42fef28cbee
Reviewed-by: James Clark <james.clark at linaro.org>
More information about the linux-arm-kernel
mailing list