git: fb3610071f84 - stable/15 - dtrace: Remove bogus Makefile.inc
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Thu, 08 Oct 2026 20:44:15 UTC
The branch stable/15 has been updated by jhb:
URL: https://cgit.FreeBSD.org/src/commit/?id=fb3610071f84d67e9894610bfda059e8dfcbbc53
commit fb3610071f84d67e9894610bfda059e8dfcbbc53
Author: John Baldwin <jhb@FreeBSD.org>
AuthorDate: 2026-09-23 19:13:22 +0000
Commit: John Baldwin <jhb@FreeBSD.org>
CommitDate: 2026-10-08 20:42:33 +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
(cherry picked from commit df7b90556859e1e5dbaf8d3dae2177ca607c0558)
---
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