Re: [PATCH v2 0/2] perf: riscv: fix register name strings

From: Arnaldo Carvalho de Melo

Date: Wed Jun 10 2026 - 15:58:05 EST


On Tue, Jun 09, 2026 at 10:13:07AM +0200, Martin Kaiser wrote:
> 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.

Thanks, applied to perf-tools-next, for v7.2.

- Arnaldo

> 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