Merge branch 'fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/evalenti/linux...
[linux/fpc-iii.git] / tools / perf / util / include / dwarf-regs.h
blob07c644ed64c4ecd9809bf322297e5a3876e83aad
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);
6 #endif
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.
14 int regs_query_register_offset(const char *name);
15 #endif
16 #endif