git: 92fa22c6a5c4 - main - riscv: Compile instr_size.c into the kernel when DTrace is configured

From: Mark Johnston <markj_at_FreeBSD.org>
Date: Fri, 21 Apr 2023 13:27:30 UTC
The branch main has been updated by markj:

URL: https://cgit.FreeBSD.org/src/commit/?id=92fa22c6a5c41303e3ad98096c9ebe8202418d81

commit 92fa22c6a5c41303e3ad98096c9ebe8202418d81
Author:     Mark Johnston <markj@FreeBSD.org>
AuthorDate: 2023-04-21 13:26:17 +0000
Commit:     Mark Johnston <markj@FreeBSD.org>
CommitDate: 2023-04-21 13:26:17 +0000

    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")
---
 sys/conf/files.riscv | 1 +
 1 file changed, 1 insertion(+)

diff --git a/sys/conf/files.riscv b/sys/conf/files.riscv
index 774dabe0cd61..192a309c989e 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