mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] perf vendor events arm64: Fix typos in event descriptions
@ 2026-11-08 18:46 TAKANO Mitsuhiro
  2026-11-09 10:20 ` James Clark
  0 siblings, 1 reply; 2+ messages in thread
From: TAKANO Mitsuhiro @ 2026-11-08 18:46 UTC (permalink / raw)
  To: linux-perf-users, Arnaldo Carvalho de Melo, Namhyung Kim
  Cc: Ian Rogers, linux-kernel, TAKANO Mitsuhiro, James Clark,
	Shunsuke Nakamura, John Garry, linux-arm-kernel

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@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
-- 
2.53.0


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH] perf vendor events arm64: Fix typos in event descriptions
  2026-11-08 18:46 [PATCH] perf vendor events arm64: Fix typos in event descriptions TAKANO Mitsuhiro
@ 2026-11-09 10:20 ` James Clark
  0 siblings, 0 replies; 2+ messages in thread
From: James Clark @ 2026-11-09 10:20 UTC (permalink / raw)
  To: TAKANO Mitsuhiro
  Cc: Ian Rogers, linux-kernel, Shunsuke Nakamura, John Garry,
	linux-arm-kernel, linux-perf-users, Arnaldo Carvalho de Melo,
	Namhyung Kim



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@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@linaro.org>


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2026-11-09 10:20 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-11-08 18:46 [PATCH] perf vendor events arm64: Fix typos in event descriptions TAKANO Mitsuhiro
2026-11-09 10:20 ` James Clark

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®