diff options
author | markj <markj@FreeBSD.org> | 2013-06-02 00:33:36 +0000 |
---|---|---|
committer | markj <markj@FreeBSD.org> | 2013-06-02 00:33:36 +0000 |
commit | f492c31639eaf495f9f716a99298e803ce0bf00a (patch) | |
tree | bd10fe39d58ea76d935a08e5dab37edac08f352b /sys/modules | |
parent | 9e2431c34dc087e0ff7bb1a5ae076865b37fd54e (diff) | |
download | FreeBSD-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/Makefile | 3 |
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 |