aboutsummaryrefslogtreecommitdiff
path: root/cddl/usr.sbin/Makefile
diff options
context:
space:
mode:
authorDevin Teske <dteske@FreeBSD.org>2018-03-06 23:44:19 +0000
committerDevin Teske <dteske@FreeBSD.org>2018-03-06 23:44:19 +0000
commit5bf5ca772c6de2d53344a78cf461447cc322ccea (patch)
treeab0c4b0990a9aefd15fd2abdbc89c632d9cf6b12 /cddl/usr.sbin/Makefile
parentb3e8ee5d0576ecd1a5a008b8b68cdd68158a407f (diff)
downloadsrc-5bf5ca772c6de2d53344a78cf461447cc322ccea.tar.gz
src-5bf5ca772c6de2d53344a78cf461447cc322ccea.zip
Introduce dwatch(1) as a tool for making DTrace more useful
Reviewed by: markj, gnn, bdrewery (earlier version) Relnotes: yes Sponsored by: Smule, Inc. Differential Revision: https://reviews.freebsd.org/D10006
Notes
Notes: svn path=/head/; revision=330559
Diffstat (limited to 'cddl/usr.sbin/Makefile')
-rw-r--r--cddl/usr.sbin/Makefile5
1 files changed, 5 insertions, 0 deletions
diff --git a/cddl/usr.sbin/Makefile b/cddl/usr.sbin/Makefile
index a7ee242662a1..a736a75a73ec 100644
--- a/cddl/usr.sbin/Makefile
+++ b/cddl/usr.sbin/Makefile
@@ -3,6 +3,7 @@
.include <src.opts.mk>
SUBDIR= ${_dtrace} \
+ ${_dwatch} \
${_lockstat} \
${_plockstat} \
${_zdb} \
@@ -23,6 +24,7 @@ _zfsd= zfsd
.if ${MACHINE_ARCH} == "amd64" || ${MACHINE_ARCH} == "i386"
_dtrace= dtrace
+_dwatch= dwatch
_lockstat= lockstat
_plockstat= plockstat
.endif
@@ -30,15 +32,18 @@ _plockstat= plockstat
.if ${MACHINE_CPUARCH} == "aarch64" || ${MACHINE_CPUARCH} == "arm" || \
${MACHINE_CPUARCH} == "riscv"
_dtrace= dtrace
+_dwatch= dwatch
_lockstat= lockstat
.endif
.if ${MACHINE_CPUARCH} == "mips"
_dtrace= dtrace
+_dwatch= dwatch
.endif
.if ${MACHINE_CPUARCH} == "powerpc"
_dtrace= dtrace
+_dwatch= dwatch
_lockstat= lockstat
.endif