git: 67f3c0d6a575 - main - dtraceall: Enable kinst for aarch64 and riscv as well
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 16 Sep 2025 15:37:28 UTC
The branch main has been updated by christos:
URL: https://cgit.FreeBSD.org/src/commit/?id=67f3c0d6a575f74a013974b4d4860a36e4fcc8ab
commit 67f3c0d6a575f74a013974b4d4860a36e4fcc8ab
Author: Christos Margiolis <christos@FreeBSD.org>
AuthorDate: 2025-09-16 15:37:19 +0000
Commit: Christos Margiolis <christos@FreeBSD.org>
CommitDate: 2025-09-16 15:37:19 +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
---
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);