git: a8e11e3c6208 - stable/14 - 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:18:24 UTC
The branch stable/14 has been updated by christos:
URL: https://cgit.FreeBSD.org/src/commit/?id=a8e11e3c6208e6b569aed9eb60bd1dca32e0f5ec
commit a8e11e3c6208e6b569aed9eb60bd1dca32e0f5ec
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:18:07 +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 7d41901f28d5..89710a251f35 100644
--- a/sys/modules/dtrace/dtraceall/dtraceall.c
+++ b/sys/modules/dtrace/dtraceall/dtraceall.c
@@ -72,11 +72,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);