git: abdd81f0a5d5 - stable/15 - dtraceall: Enable kinst for aarch64 and riscv as well
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 30 Sep 2025 09:17:43 UTC
The branch stable/15 has been updated by christos:
URL: https://cgit.FreeBSD.org/src/commit/?id=abdd81f0a5d5c7192891e4233b9cfb83c94b9640
commit abdd81f0a5d5c7192891e4233b9cfb83c94b9640
Author: Christos Margiolis <christos@FreeBSD.org>
AuthorDate: 2025-09-16 15:37:19 +0000
Commit: Christos Margiolis <christos@FreeBSD.org>
CommitDate: 2025-09-30 09:17:26 +0000
dtraceall: Enable kinst for aarch64 and riscv as well
aarch64 and riscv are supported since 2023 so it should be safe to
enable it by default.
MFC after: 2 weeks
Reviewed by: markj
Differential Revision: https://reviews.freebsd.org/D52575
(cherry picked from commit 67f3c0d6a575f74a013974b4d4860a36e4fcc8ab)
---
sys/modules/dtrace/dtraceall/dtraceall.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/sys/modules/dtrace/dtraceall/dtraceall.c b/sys/modules/dtrace/dtraceall/dtraceall.c
index 851d33a7e518..1978b9ead362 100644
--- a/sys/modules/dtrace/dtraceall/dtraceall.c
+++ b/sys/modules/dtrace/dtraceall/dtraceall.c
@@ -74,11 +74,11 @@ MODULE_DEPEND(dtraceall, dtnfscl, 1, 1, 1);
defined(__i386__) || defined(__powerpc__) || defined(__riscv)
MODULE_DEPEND(dtraceall, fbt, 1, 1, 1);
#endif
-#if defined(__amd64__) || defined(__i386__) || defined(__powerpc__)
-MODULE_DEPEND(dtraceall, fasttrap, 1, 1, 1);
-#if defined(__amd64__)
+#if defined(__amd64__) || defined(__aarch64__) || defined(__riscv)
MODULE_DEPEND(dtraceall, kinst, 1, 1, 1);
#endif
+#if defined(__amd64__) || defined(__i386__) || defined(__powerpc__)
+MODULE_DEPEND(dtraceall, fasttrap, 1, 1, 1);
#endif
MODULE_DEPEND(dtraceall, sdt, 1, 1, 1);
MODULE_DEPEND(dtraceall, systrace, 1, 1, 1);