Re: [PATCH 3/3] tools/perf/arch/powerc: Add get_arch_regnum for powerpc
From: Tiezhu Yang <yangtiezhu@loongson.cn>
Date: 2024-03-26 09:36:49
Also in:
linux-perf-users
From: Tiezhu Yang <yangtiezhu@loongson.cn>
Date: 2024-03-26 09:36:49
Also in:
linux-perf-users
Hi Athira and Namhyung, On 03/09/2024 03:25 PM, Athira Rajeev wrote:
The function get_dwarf_regnum() returns a DWARF register number from a register name string. This calls arch specific function get_arch_regnum to return register number for corresponding arch. Add mappings for register name to register number in powerpc code: arch/powerpc/util/dwarf-regs.c Signed-off-by: Athira Rajeev <redacted> --- tools/perf/arch/powerpc/util/dwarf-regs.c | 29 +++++++++++++++++++++++ 1 file changed, 29 insertions(+)
I found commit 3eee606757ad ("perf dwarf-regs: Add get_dwarf_regnum()")
for x86, would you be able to share how to test these changes? What is
the difference with and without the patches?
Thanks,
Tiezhu