summaryrefslogtreecommitdiffstats
path: root/tools/perf/arch/riscv/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'tools/perf/arch/riscv/Makefile')
-rw-r--r--tools/perf/arch/riscv/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/tools/perf/arch/riscv/Makefile b/tools/perf/arch/riscv/Makefile
new file mode 100644
index 000000000..1aa9dd772
--- /dev/null
+++ b/tools/perf/arch/riscv/Makefile
@@ -0,0 +1,4 @@
+ifndef NO_DWARF
+PERF_HAVE_DWARF_REGS := 1
+endif
+PERF_HAVE_ARCH_REGS_QUERY_REGISTER_OFFSET := 1