summaryrefslogtreecommitdiffstats
path: root/kernel/tools/perf/util/include/dwarf-regs.h
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/tools/perf/util/include/dwarf-regs.h')
-rw-r--r--kernel/tools/perf/util/include/dwarf-regs.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/kernel/tools/perf/util/include/dwarf-regs.h b/kernel/tools/perf/util/include/dwarf-regs.h
new file mode 100644
index 000000000..8f149655f
--- /dev/null
+++ b/kernel/tools/perf/util/include/dwarf-regs.h
@@ -0,0 +1,8 @@
+#ifndef _PERF_DWARF_REGS_H_
+#define _PERF_DWARF_REGS_H_
+
+#ifdef HAVE_DWARF_SUPPORT
+const char *get_arch_regstr(unsigned int n);
+#endif
+
+#endif