* [PATCH] perf vendor events amd: Fix a misspelled JSON key
@ 2026-11-08 18:46 TAKANO Mitsuhiro
2026-11-08 18:47 ` sashiko-bot
2026-11-11 19:09 ` Namhyung Kim
0 siblings, 2 replies; 3+ 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, Sandipan Das,
Ravi Bangoria
ls_inef_sw_pref.all is listed without a description on Zen 4, Zen 5 and
Zen 6. Its three JSON entries spell BriefDescription as
"BriefDescript6ion", and jevents.py reads the keys it knows by name, so
the text is dropped and the generated table ends up with an empty
description field.
Spell the key correctly. Only the key changes; the text, event names,
codes, umasks and expressions are untouched.
Fixes: 658448281d19 ("perf vendor events amd: Add Zen 4 core events")
Fixes: 45c072f2537a ("perf vendor events amd: Add Zen 5 core events")
Fixes: 2f42fb0661d9 ("perf vendor events amd: Add Zen 6 core events")
Written with Hermes Agent, an LLM assistant.
Signed-off-by: TAKANO Mitsuhiro <takano32@gmail.com>
---
tools/perf/pmu-events/arch/x86/amdzen4/cache.json | 2 +-
tools/perf/pmu-events/arch/x86/amdzen5/load-store.json | 2 +-
tools/perf/pmu-events/arch/x86/amdzen6/load-store.json | 2 +-
3 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/tools/perf/pmu-events/arch/x86/amdzen4/cache.json b/tools/perf/pmu-events/arch/x86/amdzen4/cache.json
index e6d710cf3ce2..01c848a9dbb3 100644
--- a/tools/perf/pmu-events/arch/x86/amdzen4/cache.json
+++ b/tools/perf/pmu-events/arch/x86/amdzen4/cache.json
@@ -182,7 +182,7 @@
{
"EventName": "ls_inef_sw_pref.all",
"EventCode": "0x52",
- "BriefDescript6ion": "Software prefetches that did not fetch data outside of the processor core for any reason.",
+ "BriefDescription": "Software prefetches that did not fetch data outside of the processor core for any reason.",
"UMask": "0x03"
},
{
diff --git a/tools/perf/pmu-events/arch/x86/amdzen5/load-store.json b/tools/perf/pmu-events/arch/x86/amdzen5/load-store.json
index b1994539ece8..774da0bfa0dd 100644
--- a/tools/perf/pmu-events/arch/x86/amdzen5/load-store.json
+++ b/tools/perf/pmu-events/arch/x86/amdzen5/load-store.json
@@ -351,7 +351,7 @@
{
"EventName": "ls_inef_sw_pref.all",
"EventCode": "0x52",
- "BriefDescript6ion": "Software prefetches that did not fetch data outside of the processor core for any reason.",
+ "BriefDescription": "Software prefetches that did not fetch data outside of the processor core for any reason.",
"UMask": "0x03"
},
{
diff --git a/tools/perf/pmu-events/arch/x86/amdzen6/load-store.json b/tools/perf/pmu-events/arch/x86/amdzen6/load-store.json
index 4291eb59426f..4adba70bffb1 100644
--- a/tools/perf/pmu-events/arch/x86/amdzen6/load-store.json
+++ b/tools/perf/pmu-events/arch/x86/amdzen6/load-store.json
@@ -351,7 +351,7 @@
{
"EventName": "ls_inef_sw_pref.all",
"EventCode": "0x52",
- "BriefDescript6ion": "Software prefetches that did not fetch data outside of the processor core for any reason.",
+ "BriefDescription": "Software prefetches that did not fetch data outside of the processor core for any reason.",
"UMask": "0x03"
},
{
base-commit: d48723711bae9b8cdc56719c448ba42fef28cbee
--
2.53.0
^ permalink raw reply related [flat|nested] 3+ messages in thread* Re: [PATCH] perf vendor events amd: Fix a misspelled JSON key
2026-11-08 18:46 [PATCH] perf vendor events amd: Fix a misspelled JSON key TAKANO Mitsuhiro
@ 2026-11-08 18:47 ` sashiko-bot
2026-11-11 19:09 ` Namhyung Kim
1 sibling, 0 replies; 3+ messages in thread
From: sashiko-bot @ 2026-11-08 18:47 UTC (permalink / raw)
To: TAKANO Mitsuhiro, linux-perf-users
> ls_inef_sw_pref.all is listed without a description on Zen 4, Zen 5 and
> Zen 6. Its three JSON entries spell BriefDescription as
> "BriefDescript6ion", and jevents.py reads the keys it knows by name, so
> the text is dropped and the generated table ends up with an empty
> description field.
>
> Spell the key correctly. Only the key changes; the text, event names,
> codes, umasks and expressions are untouched.
>
> Fixes: 658448281d19 ("perf vendor events amd: Add Zen 4 core events")
> Fixes: 45c072f2537a ("perf vendor events amd: Add Zen 5 core events")
> Fixes: 2f42fb0661d9 ("perf vendor events amd: Add Zen 6 core events")
>
> Written with Hermes Agent, an LLM assistant.
>
> Signed-off-by: TAKANO Mitsuhiro <takano32@gmail.com>
Sashiko has reviewed this patch and found no issues.
--
Sashiko AI review · https://sashiko.dev/#/patchset/20261108184600.3810059-1-takano32@gmail.com?part=1
^ permalink raw reply [flat|nested] 3+ messages in thread* Re: [PATCH] perf vendor events amd: Fix a misspelled JSON key
2026-11-08 18:46 [PATCH] perf vendor events amd: Fix a misspelled JSON key TAKANO Mitsuhiro
2026-11-08 18:47 ` sashiko-bot
@ 2026-11-11 19:09 ` Namhyung Kim
1 sibling, 0 replies; 3+ messages in thread
From: Namhyung Kim @ 2026-11-11 19:09 UTC (permalink / raw)
To: linux-perf-users, Arnaldo Carvalho de Melo, TAKANO Mitsuhiro
Cc: Ian Rogers, linux-kernel, Sandipan Das, Ravi Bangoria
On Sun, 08 Nov 2026 18:46:00 +0000, TAKANO Mitsuhiro wrote:
> ls_inef_sw_pref.all is listed without a description on Zen 4, Zen 5 and
> Zen 6. Its three JSON entries spell BriefDescription as
> "BriefDescript6ion", and jevents.py reads the keys it knows by name, so
> the text is dropped and the generated table ends up with an empty
> description field.
>
> Spell the key correctly. Only the key changes; the text, event names,
> codes, umasks and expressions are untouched.
>
> [...]
Applied to perf-tools-next, thanks!
Best regards
Namhyung
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2026-11-11 19:09 UTC | newest]
Thread overview: 3+ 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 amd: Fix a misspelled JSON key TAKANO Mitsuhiro
2026-11-08 18:47 ` sashiko-bot
2026-11-11 19:09 ` Namhyung Kim
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox