1 #ifndef _PERF_DWARF_REGS_H_
2 #define _PERF_DWARF_REGS_H_
4 #ifdef HAVE_DWARF_SUPPORT
5 const char *get_arch_regstr(unsigned int n
);
8 #ifdef HAVE_ARCH_REGS_QUERY_REGISTER_OFFSET
10 * Arch should support fetching the offset of a register in pt_regs
11 * by its name. See kernel's regs_query_register_offset in
12 * arch/xxx/kernel/ptrace.c.
14 int regs_query_register_offset(const char *name
);