Linux Perf Users
 help / color / mirror / Atom feed
* [PATCH v2 0/2] perf: riscv: fix register name strings
@ 2026-06-09  8:13 Martin Kaiser
  2026-06-09  8:13 ` [PATCH v2 1/2] perf: avoid redefinition warnings for REG_DWARFNUM_NAME Martin Kaiser
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Martin Kaiser @ 2026-06-09  8:13 UTC (permalink / raw)
  To: Arnaldo Carvalho de Melo, Namhyung Kim, Ian Rogers
  Cc: linux-perf-users, linux-kernel, Martin Kaiser

Fix the register name strings for risc-v to match the syntax for kprobes.

This requires redefining REG_DWARFNUM_NAME. Make sure that different
definitions for different architectures don't create compiler warnings.

Martin Kaiser (2):
  perf: avoid redefinition warnings for REG_DWARFNUM_NAME
  perf riscv: fix register name strings

 tools/perf/arch/powerpc/include/dwarf-regs-table.h | 1 +
 tools/perf/arch/riscv/include/dwarf-regs-table.h   | 3 ++-
 tools/perf/arch/s390/include/dwarf-regs-table.h    | 1 +
 3 files changed, 4 insertions(+), 1 deletion(-)

-- 
2.43.7


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

end of thread, other threads:[~2026-06-10 19:55 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-06-09  8:13 [PATCH v2 0/2] perf: riscv: fix register name strings Martin Kaiser
2026-06-09  8:13 ` [PATCH v2 1/2] perf: avoid redefinition warnings for REG_DWARFNUM_NAME Martin Kaiser
2026-06-09  8:13 ` [PATCH v2 2/2] perf riscv: fix register name strings Martin Kaiser
2026-06-10 19:55 ` [PATCH v2 0/2] perf: " Arnaldo Carvalho de Melo

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