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/Makefile5
1 files changed, 5 insertions, 0 deletions
diff --git a/tools/perf/arch/riscv/Makefile b/tools/perf/arch/riscv/Makefile
new file mode 100644
index 0000000000..a8d25d0052
--- /dev/null
+++ b/tools/perf/arch/riscv/Makefile
@@ -0,0 +1,5 @@
+ifndef NO_DWARF
+PERF_HAVE_DWARF_REGS := 1
+endif
+PERF_HAVE_ARCH_REGS_QUERY_REGISTER_OFFSET := 1
+PERF_HAVE_JITDUMP := 1