![]() |
|
|||
0001 /* SPDX-License-Identifier: GPL-2.0 */ 0002 #ifndef _PERF_DWARF_REGS_H_ 0003 #define _PERF_DWARF_REGS_H_ 0004 0005 #ifdef HAVE_DWARF_SUPPORT 0006 const char *get_arch_regstr(unsigned int n); 0007 /* 0008 * get_dwarf_regstr - Returns ftrace register string from DWARF regnum 0009 * n: DWARF register number 0010 * machine: ELF machine signature (EM_*) 0011 */ 0012 const char *get_dwarf_regstr(unsigned int n, unsigned int machine); 0013 #endif 0014 0015 #ifdef HAVE_ARCH_REGS_QUERY_REGISTER_OFFSET 0016 /* 0017 * Arch should support fetching the offset of a register in pt_regs 0018 * by its name. See kernel's regs_query_register_offset in 0019 * arch/xxx/kernel/ptrace.c. 0020 */ 0021 int regs_query_register_offset(const char *name); 0022 #endif 0023 #endif
[ Source navigation ] | [ Diff markup ] | [ Identifier search ] | [ general search ] |
This page was automatically generated by the 2.1.0 LXR engine. The LXR team |
![]() ![]() |