summaryrefslogtreecommitdiff
path: root/tools/perf/arch/xtensa/include
diff options
context:
space:
mode:
Diffstat (limited to 'tools/perf/arch/xtensa/include')
-rw-r--r--tools/perf/arch/xtensa/include/dwarf-regs-table.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/tools/perf/arch/xtensa/include/dwarf-regs-table.h b/tools/perf/arch/xtensa/include/dwarf-regs-table.h
new file mode 100644
index 000000000000..aa0444a33fe6
--- /dev/null
+++ b/tools/perf/arch/xtensa/include/dwarf-regs-table.h
@@ -0,0 +1,8 @@
+#ifdef DEFINE_DWARF_REGSTR_TABLE
+/* This is included in perf/util/dwarf-regs.c */
+
+static const char * const xtensa_regstr_tbl[] = {
+ "a0", "a1", "a2", "a3", "a4", "a5", "a6", "a7",
+ "a8", "a9", "a10", "a11", "a12", "a13", "a14", "a15",
+};
+#endif