1#ifndef _PERF_DWARF_REGS_H_ 2#define _PERF_DWARF_REGS_H_ 3 4#ifdef HAVE_DWARF_SUPPORT 5const char *get_arch_regstr(unsigned int n); 6#endif 7 8#ifdef HAVE_ARCH_REGS_QUERY_REGISTER_OFFSET 9/* 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. 13 */ 14int regs_query_register_offset(const char *name); 15#endif 16#endif 17