git: df7b90556859 - main - dtrace: Remove bogus Makefile.inc
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 23 Sep 2026 19:16:28 UTC
The branch main has been updated by jhb:
URL: https://cgit.FreeBSD.org/src/commit/?id=df7b90556859e1e5dbaf8d3dae2177ca607c0558
commit df7b90556859e1e5dbaf8d3dae2177ca607c0558
Author: John Baldwin <jhb@FreeBSD.org>
AuthorDate: 2026-09-23 19:13:22 +0000
Commit: John Baldwin <jhb@FreeBSD.org>
CommitDate: 2026-09-23 19:13:22 +0000
dtrace: Remove bogus Makefile.inc
This was added in the initial import of dtrace and overrides the
normal load/unload targets with a custom target that loads a hardcoded
set of modules. Over time, the set of modules has not been updated
and is now incomplete. It's also not really useful compared to the
default implementation of these targets used for loading or unloading
an individual module being actively developed.
This functionality is also available via dtraceall.ko which is how
users commonly load the full suite of dtrace modules.
Reviewed by: imp, markj
Differential Revision: https://reviews.freebsd.org/D59821
---
sys/modules/dtrace/Makefile | 2 --
sys/modules/dtrace/Makefile.inc | 23 -----------------------
2 files changed, 25 deletions(-)
diff --git a/sys/modules/dtrace/Makefile b/sys/modules/dtrace/Makefile
index 019b5e951dcf..3acff72fc671 100644
--- a/sys/modules/dtrace/Makefile
+++ b/sys/modules/dtrace/Makefile
@@ -1,5 +1,3 @@
-.include "Makefile.inc"
-
SUBDIR= dtaudit \
dtmalloc \
dtnfscl \
diff --git a/sys/modules/dtrace/Makefile.inc b/sys/modules/dtrace/Makefile.inc
deleted file mode 100644
index c23cf4c476ce..000000000000
--- a/sys/modules/dtrace/Makefile.inc
+++ /dev/null
@@ -1,23 +0,0 @@
-IGNORE_PRAGMA= 1
-
-load :
- -kldload dtrace
-.if ${MACHINE_CPUARCH} == "i386"
- -kldload sdt
- -kldload fbt
- -kldload prototype
-.endif
- -kldload profile
- -kldload systrace
- kldstat
-
-unload :
- -kldunload systrace
- -kldunload profile
-.if ${MACHINE_CPUARCH} == "i386"
- -kldunload prototype
- -kldunload fbt
- -kldunload sdt
-.endif
- -kldunload dtrace
- kldstat