summaryrefslogtreecommitdiff
path: root/tools/perf/util/include/dwarf-regs.h
diff options
context:
space:
mode:
Diffstat (limited to 'tools/perf/util/include/dwarf-regs.h')
-rw-r--r--tools/perf/util/include/dwarf-regs.h11
1 files changed, 6 insertions, 5 deletions
diff --git a/tools/perf/util/include/dwarf-regs.h b/tools/perf/util/include/dwarf-regs.h
index 3c3a908b9f36..0ef428d07bcc 100644
--- a/tools/perf/util/include/dwarf-regs.h
+++ b/tools/perf/util/include/dwarf-regs.h
@@ -90,12 +90,13 @@
#ifdef HAVE_LIBDW_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_*)
+/**
+ * get_dwarf_regstr() - Returns ftrace register string from DWARF regnum.
+ * @n: DWARF register number.
+ * @machine: ELF machine signature (EM_*).
+ * @flags: ELF flags for things like ABI differences.
*/
-const char *get_dwarf_regstr(unsigned int n, unsigned int machine);
+const char *get_dwarf_regstr(unsigned int n, unsigned int machine, unsigned int flags);
int get_arch_regnum(const char *name);
/*