summaryrefslogtreecommitdiffstats
path: root/sys/modules
diff options
context:
space:
mode:
authormarkj <markj@FreeBSD.org>2013-06-02 00:33:36 +0000
committermarkj <markj@FreeBSD.org>2013-06-02 00:33:36 +0000
commitf492c31639eaf495f9f716a99298e803ce0bf00a (patch)
treebd10fe39d58ea76d935a08e5dab37edac08f352b /sys/modules
parent9e2431c34dc087e0ff7bb1a5ae076865b37fd54e (diff)
downloadFreeBSD-src-f492c31639eaf495f9f716a99298e803ce0bf00a.zip
FreeBSD-src-f492c31639eaf495f9f716a99298e803ce0bf00a.tar.gz
Port the SDT test now that it's possible to create SDT probes that take
seven arguments. The original test uses Solaris' uadmin system call to trigger the test probe; this change adds a sysctl to the dtrace_test module and gets the test program to trigger the test probe via the sysctl handler. The test is currently failing on amd64 because of some bugs in the way that probe arguments beyond the first five are obtained - these bugs will be fixed in a separate change.
Diffstat (limited to 'sys/modules')
-rw-r--r--sys/modules/dtrace/dtrace_test/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/modules/dtrace/dtrace_test/Makefile b/sys/modules/dtrace/dtrace_test/Makefile
index bc096f3..b03fe17 100644
--- a/sys/modules/dtrace/dtrace_test/Makefile
+++ b/sys/modules/dtrace/dtrace_test/Makefile
@@ -5,8 +5,9 @@
KMOD= dtrace_test
SRCS= dtrace_test.c
+SRCS+= opt_kdtrace.h
SRCS+= vnode_if.h
-
+
CFLAGS+= -I${.CURDIR}/../../..
CFLAGS+= -D_KERNEL
OpenPOWER on IntegriCloud