[PATCH 3/3] tools/perf/arch/powerc: Add get_arch_regnum for powerpc
Tiezhu Yang
yangtiezhu at loongson.cn
Tue Mar 26 20:35:04 AEDT 2024
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 <atrajeev at linux.vnet.ibm.com>
> ---
> 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
More information about the Linuxppc-dev
mailing list