summaryrefslogtreecommitdiffstats
path: root/tools/perf/arch/arm/include/dwarf-regs-table.h
diff options
context:
space:
mode:
Diffstat (limited to 'tools/perf/arch/arm/include/dwarf-regs-table.h')
-rw-r--r--tools/perf/arch/arm/include/dwarf-regs-table.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/tools/perf/arch/arm/include/dwarf-regs-table.h b/tools/perf/arch/arm/include/dwarf-regs-table.h
new file mode 100644
index 000000000..5a45046fa
--- /dev/null
+++ b/tools/perf/arch/arm/include/dwarf-regs-table.h
@@ -0,0 +1,10 @@
+/* SPDX-License-Identifier: GPL-2.0 */
+#ifdef DEFINE_DWARF_REGSTR_TABLE
+/* This is included in perf/util/dwarf-regs.c */
+
+static const char * const arm_regstr_tbl[] = {
+ "%r0", "%r1", "%r2", "%r3", "%r4",
+ "%r5", "%r6", "%r7", "%r8", "%r9", "%r10",
+ "%fp", "%ip", "%sp", "%lr", "%pc",
+};
+#endif