]> asedeno.scripts.mit.edu Git - linux.git/blobdiff - tools/perf/util/include/dwarf-regs.h
perf probe: Support probing on offline cross-arch binary
[linux.git] / tools / perf / util / include / dwarf-regs.h
index 07c644ed64c4ecd9809bf322297e5a3876e83aad..43bfd8da7919a68e41ab98032221edad25f1cd9c 100644 (file)
@@ -3,6 +3,12 @@
 
 #ifdef HAVE_DWARF_SUPPORT
 const char *get_arch_regstr(unsigned int n);
+/*
+ * get_dwarf_regstr - Returns ftrace register string from DWARF regnum
+ * n: DWARF register number
+ * machine: ELF machine signature (EM_*)
+ */
+const char *get_dwarf_regstr(unsigned int n, unsigned int machine);
 #endif
 
 #ifdef HAVE_ARCH_REGS_QUERY_REGISTER_OFFSET