summaryrefslogtreecommitdiffstats
path: root/share/dtrace/toolkit
diff options
context:
space:
mode:
authorgnn <gnn@FreeBSD.org>2012-05-18 16:40:15 +0000
committergnn <gnn@FreeBSD.org>2012-05-18 16:40:15 +0000
commita20823e0697f4717b9c26b0f5aaa723dd2d82f23 (patch)
tree8681a6c6c2642bb7f2b254a508ae3a3c1b4cc017 /share/dtrace/toolkit
parent8187b8f230e8f0fbfe561a60975a0ca698a0d439 (diff)
downloadFreeBSD-src-a20823e0697f4717b9c26b0f5aaa723dd2d82f23.zip
FreeBSD-src-a20823e0697f4717b9c26b0f5aaa723dd2d82f23.tar.gz
Add support for our own DTrace scripts and those from the DTraceToolkit
to the build system. FreeBSD written scripts are stored in src/share and the toolkit scripts are brought from the cddl directory into a working tree via install. MFC after: 2 weeks
Diffstat (limited to 'share/dtrace/toolkit')
-rw-r--r--share/dtrace/toolkit/Makefile17
1 files changed, 17 insertions, 0 deletions
diff --git a/share/dtrace/toolkit/Makefile b/share/dtrace/toolkit/Makefile
new file mode 100644
index 0000000..0eb7ff2
--- /dev/null
+++ b/share/dtrace/toolkit/Makefile
@@ -0,0 +1,17 @@
+#$FreeBSD$
+#
+# Install scripts from the DTraceToolkit
+#
+DTRACETOOLKIT= ../../../cddl/contrib/dtracetoolkit
+
+SCRIPTS= ${DTRACETOOLKIT}/execsnoop \
+ ${DTRACETOOLKIT}/hotuser \
+ ${DTRACETOOLKIT}/hotkernel \
+ ${DTRACETOOLKIT}/opensnoop \
+ ${DTRACETOOLKIT}/procsystime \
+
+SCRIPTSDIR= ${SHAREDIR}/dtrace/toolkit
+
+NO_OBJ=
+
+.include <bsd.prog.mk>
OpenPOWER on IntegriCloud