aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark Johnston <markj@FreeBSD.org>2023-04-21 13:26:17 +0000
committerMark Johnston <markj@FreeBSD.org>2023-05-07 17:54:09 +0000
commit504b5a1378ab2cf8a50e034c1c407e7ecfe5db9c (patch)
tree2e1c7aa925f2cf4bf85d5dd5063b53aa18c523d6
parentde552718943b5ead511048d4e7b4b9f33c33d01a (diff)
downloadsrc-504b5a1378ab2cf8a50e034c1c407e7ecfe5db9c.tar.gz
src-504b5a1378ab2cf8a50e034c1c407e7ecfe5db9c.zip
riscv: Compile instr_size.c into the kernel when DTrace is configured
Reported by: Jenkins Fixes: 080e56a6c98c ("dtrace: expose dtrace_instr_size() to userland and implement it for riscv") (cherry picked from commit 92fa22c6a5c41303e3ad98096c9ebe8202418d81)
-rw-r--r--sys/conf/files.riscv1
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/conf/files.riscv b/sys/conf/files.riscv
index 82beedfd03a2..6ad44193cec0 100644
--- a/sys/conf/files.riscv
+++ b/sys/conf/files.riscv
@@ -1,6 +1,7 @@
# $FreeBSD$
cddl/dev/dtrace/riscv/dtrace_asm.S optional dtrace compile-with "${DTRACE_S}"
cddl/dev/dtrace/riscv/dtrace_subr.c optional dtrace compile-with "${DTRACE_C}"
+cddl/dev/dtrace/riscv/instr_size.c optional dtrace compile-with "${DTRACE_C}"
cddl/dev/fbt/riscv/fbt_isa.c optional dtrace_fbt | dtraceall compile-with "${FBT_C}"
crypto/des/des_enc.c optional netsmb
dev/ofw/ofw_cpu.c optional fdt