git: 504b5a1378ab - stable/13 - riscv: Compile instr_size.c into the kernel when DTrace is configured

From: Mark Johnston <markj_at_FreeBSD.org>
Date: Sun, 07 May 2023 17:59:57 UTC
The branch stable/13 has been updated by markj:

URL: https://cgit.FreeBSD.org/src/commit/?id=504b5a1378ab2cf8a50e034c1c407e7ecfe5db9c

commit 504b5a1378ab2cf8a50e034c1c407e7ecfe5db9c
Author:     Mark Johnston <markj@FreeBSD.org>
AuthorDate: 2023-04-21 13:26:17 +0000
Commit:     Mark Johnston <markj@FreeBSD.org>
CommitDate: 2023-05-07 17:54:09 +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")
    
    (cherry picked from commit 92fa22c6a5c41303e3ad98096c9ebe8202418d81)
---
 sys/conf/files.riscv | 1 +
 1 file changed, 1 insertion(+)

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