summaryrefslogtreecommitdiffstats
path: root/sys/modules
diff options
context:
space:
mode:
authorrmacklem <rmacklem@FreeBSD.org>2011-06-18 23:02:53 +0000
committerrmacklem <rmacklem@FreeBSD.org>2011-06-18 23:02:53 +0000
commite68709579e3654df9d75d883f6676b64a5b49d1a (patch)
treeda2b6d6c4758b0a7df519b3e5dd66d5c3fe2dacf /sys/modules
parent2c34fd40cf9b5ba7ec3d068fc410a06bc897665b (diff)
downloadFreeBSD-src-e68709579e3654df9d75d883f6676b64a5b49d1a.zip
FreeBSD-src-e68709579e3654df9d75d883f6676b64a5b49d1a.tar.gz
Add DTrace support to the new NFS client. This is essentially
cloned from the old NFS client, plus additions for NFSv4. A review of this code is in progress, however it was felt by the reviewer that it could go in now, before code slush. Any changes required by the review can be committed as bug fixes later.
Diffstat (limited to 'sys/modules')
-rw-r--r--sys/modules/dtrace/Makefile1
-rw-r--r--sys/modules/dtrace/dtnfscl/Makefile13
-rw-r--r--sys/modules/dtrace/dtraceall/dtraceall.c1
3 files changed, 15 insertions, 0 deletions
diff --git a/sys/modules/dtrace/Makefile b/sys/modules/dtrace/Makefile
index 09fe55e..316b859 100644
--- a/sys/modules/dtrace/Makefile
+++ b/sys/modules/dtrace/Makefile
@@ -4,6 +4,7 @@
.include "Makefile.inc"
SUBDIR= dtmalloc \
+ dtnfscl \
dtnfsclient \
dtrace \
dtraceall \
diff --git a/sys/modules/dtrace/dtnfscl/Makefile b/sys/modules/dtrace/dtnfscl/Makefile
new file mode 100644
index 0000000..0296232
--- /dev/null
+++ b/sys/modules/dtrace/dtnfscl/Makefile
@@ -0,0 +1,13 @@
+# $FreeBSD$
+
+.PATH: ${.CURDIR}/../../../fs/nfsclient
+
+KMOD= dtnfscl
+SRCS= nfs_clkdtrace.c \
+ vnode_if.h
+
+CFLAGS+= -I${.CURDIR}/../../../cddl/compat/opensolaris \
+ -I${.CURDIR}/../../../cddl/contrib/opensolaris/uts/common \
+ -I${.CURDIR}/../../..
+
+.include <bsd.kmod.mk>
diff --git a/sys/modules/dtrace/dtraceall/dtraceall.c b/sys/modules/dtrace/dtraceall/dtraceall.c
index 76172b7..61896bf 100644
--- a/sys/modules/dtrace/dtraceall/dtraceall.c
+++ b/sys/modules/dtrace/dtraceall/dtraceall.c
@@ -66,6 +66,7 @@ MODULE_DEPEND(dtraceall, cyclic, 1, 1, 1);
MODULE_DEPEND(dtraceall, opensolaris, 1, 1, 1);
MODULE_DEPEND(dtraceall, dtrace, 1, 1, 1);
MODULE_DEPEND(dtraceall, dtmalloc, 1, 1, 1);
+MODULE_DEPEND(dtraceall, dtnfscl, 1, 1, 1);
MODULE_DEPEND(dtraceall, dtnfsclient, 1, 1, 1);
#if defined(__amd64__) || defined(__i386__)
MODULE_DEPEND(dtraceall, fbt, 1, 1, 1);
OpenPOWER on IntegriCloud