mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH 0/3] perf vendor events: Fix misspellings in event and metric descriptions
@ 2026-11-20 17:58 TAKANO Mitsuhiro
  2026-11-20 17:58 ` [PATCH 1/3] perf vendor events powerpc: Fix misspellings in the power tables TAKANO Mitsuhiro
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: TAKANO Mitsuhiro @ 2026-11-20 17:58 UTC (permalink / raw)
  To: linux-perf-users, Peter Zijlstra, Ingo Molnar,
	Arnaldo Carvalho de Melo, Namhyung Kim
  Cc: Ian Rogers, Mark Rutland, Alexander Shishkin, Jiri Olsa,
	Adrian Hunter, James Clark, linux-kernel, TAKANO Mitsuhiro

The PMU event descriptions shipped in the JSON tables under
tools/perf/pmu-events/arch/ are printed by `perf list` (BriefDescription)
and `perf list -v` (PublicDescription) as they are written, and the metric
descriptions in the metrics JSON files are printed by `perf list metric`.
A number of them carry misspelled words, so the misspellings reach the
user.  This series fixes the first batch of them, which a spell-check pass
over the power8, power9 and power10 tables and over the Intel and AMD
tables turned up.

The three patches are split by vendor because that is the convention for
the subject prefix in this tree.  Of the 989 commits that touch
tools/perf/pmu-events/arch/ as of 65e4fd942f72, `perf vendor events
intel:` has 391, `amd:` 37, `powerpc:` 8, `arm64:` 83, `s390:` 18 and
`riscv:` 13.  No commit with a vendor prefix touches another vendor's
tables.

The arm64 tables have misspellings of the same kind ("misprediciton" in
the ampere tables, "executed.This" in the cortex-a55 tables); the s390
and riscv tables contain none of the words fixed here.  More remain in the
tables this series swept and in others -- "conjection" and "banwidth" in
the Intel uncore tables, "pumpfor" in power8, to name a few -- and those
are left for follow-up patches.

Each patch touches description strings only, and each was checked by
regenerating the tables with

  jevents.py <arch> all tools/perf/pmu-events/arch out.c out-str.c

and diffing the result against the one generated from the parent commit:
every event name and event code is unchanged, and the misspellings are
gone from the generated string table.  out-str.c shrinks or stays the same
size, because some corrected descriptions become identical to descriptions
already stored for other models, and the amd fix swaps a word for another
of the same length:

  powerpc  13 files, 55 lines changed   out-str.c -393 bytes
  intel     5 files,  5 lines changed   out-str.c -477 bytes
  amd       1 file,   1 line changed    out-str.c size unchanged

65 PublicDescription values in power8/other.json end in "42"; the trailing
"42" is not a misspelling, so it is left alone.  The word "ibufffully"
in that file is left unchanged as well: the BriefDescription of the same
event ends with "ibuff", so the boundary is clear, but whether a space or
a full stop belongs after it is not.

Written with Hermes Agent, an LLM assistant: it found the words and wrote
these changelogs and this cover note; the author reviewed every change and
ran the generator as described above.

Signed-off-by: TAKANO Mitsuhiro <takano32@gmail.com>

TAKANO Mitsuhiro (3):
  perf vendor events powerpc: Fix misspellings in the power tables
  perf vendor events intel: Fix misspellings in the Intel model tables
  perf vendor events amd: Fix a misspelling in the amdzen3 table

 .../arch/powerpc/power10/metrics.json         |  8 ++--
 .../pmu-events/arch/powerpc/power8/cache.json |  2 +-
 .../arch/powerpc/power8/memory.json           |  2 +-
 .../arch/powerpc/power8/metrics.json          |  8 ++--
 .../pmu-events/arch/powerpc/power8/other.json | 38 +++++++++----------
 .../arch/powerpc/power8/pipeline.json         |  4 +-
 .../pmu-events/arch/powerpc/power8/pmc.json   |  4 +-
 .../pmu-events/arch/powerpc/power9/cache.json |  2 +-
 .../arch/powerpc/power9/frontend.json         |  2 +-
 .../arch/powerpc/power9/marked.json           |  4 +-
 .../arch/powerpc/power9/metrics.json          |  6 +--
 .../pmu-events/arch/powerpc/power9/other.json | 28 +++++++-------
 .../arch/powerpc/power9/translation.json      |  2 +-
 .../pmu-events/arch/x86/amdzen3/branch.json   |  2 +-
 .../arch/x86/nehalemep/pipeline.json          |  2 +-
 .../arch/x86/nehalemex/pipeline.json          |  2 +-
 .../arch/x86/sierraforest/srf-metrics.json    |  2 +-
 .../arch/x86/westmereep-dp/pipeline.json      |  2 +-
 .../arch/x86/westmereep-sp/pipeline.json      |  2 +-
 19 files changed, 61 insertions(+), 61 deletions(-)


base-commit: 65e4fd942f72a9dba0e4e257290c4fa1aa756854
-- 
2.53.0


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

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

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-11-20 17:58 [PATCH 0/3] perf vendor events: Fix misspellings in event and metric descriptions TAKANO Mitsuhiro
2026-11-20 17:58 ` [PATCH 1/3] perf vendor events powerpc: Fix misspellings in the power tables TAKANO Mitsuhiro
2026-11-20 17:58 ` [PATCH 2/3] perf vendor events intel: Fix misspellings in the Intel model tables TAKANO Mitsuhiro
2026-11-20 17:58 ` [PATCH 3/3] perf vendor events amd: Fix a misspelling in the amdzen3 table TAKANO Mitsuhiro

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®