git: bf7022dee636 - main - dtraceall: Automatically load kinst.ko on amd64
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 11 Oct 2022 22:35:40 UTC
The branch main has been updated by markj:
URL: https://cgit.FreeBSD.org/src/commit/?id=bf7022dee6362a896465f31461eb482a8d6b73eb
commit bf7022dee6362a896465f31461eb482a8d6b73eb
Author: Mark Johnston <markj@FreeBSD.org>
AuthorDate: 2022-10-11 21:31:47 +0000
Commit: Mark Johnston <markj@FreeBSD.org>
CommitDate: 2022-10-11 22:19:55 +0000
dtraceall: Automatically load kinst.ko on amd64
MFC after: 3 months
---
sys/modules/dtrace/dtraceall/dtraceall.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/sys/modules/dtrace/dtraceall/dtraceall.c b/sys/modules/dtrace/dtraceall/dtraceall.c
index 7ac25b85d1cc..ce6ae0ea0754 100644
--- a/sys/modules/dtrace/dtraceall/dtraceall.c
+++ b/sys/modules/dtrace/dtraceall/dtraceall.c
@@ -77,6 +77,9 @@ MODULE_DEPEND(dtraceall, fbt, 1, 1, 1);
#endif
#if defined(__amd64__) || defined(__i386__)
MODULE_DEPEND(dtraceall, fasttrap, 1, 1, 1);
+#if defined(__amd64__)
+MODULE_DEPEND(dtraceall, kinst, 1, 1, 1);
+#endif
#endif
MODULE_DEPEND(dtraceall, sdt, 1, 1, 1);
MODULE_DEPEND(dtraceall, systrace, 1, 1, 1);