aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Baldwin <jhb@FreeBSD.org>2026-09-23 19:13:22 +0000
committerJohn Baldwin <jhb@FreeBSD.org>2026-09-23 19:13:22 +0000
commitdf7b90556859e1e5dbaf8d3dae2177ca607c0558 (patch)
tree9193f0315874b4771b28283cadeb626f4c29af71
parent72e391060bb6c83ed65ac7ca3936bd6e07ab1ebc (diff)
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
-rw-r--r--sys/modules/dtrace/Makefile2
-rw-r--r--sys/modules/dtrace/Makefile.inc23
2 files changed, 0 insertions, 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