summaryrefslogtreecommitdiff
path: root/sys/modules/dtrace/syscall
diff options
context:
space:
mode:
authorchs <chs@NetBSD.org>2018-05-28 21:04:59 +0000
committerchs <chs@NetBSD.org>2018-05-28 21:04:59 +0000
commiteada09acaeaeefa47b9692e7d920bf851863dfb7 (patch)
treecd53eb38844283a2a5b01c3cb1c9539d8ad6de25 /sys/modules/dtrace/syscall
parentdefb6b6ddc595a2a77bd37b2d01ff89341730763 (diff)
merge a new version of the CDDL dtrace and ZFS code.
this changes the upstream vendor from OpenSolaris to FreeBSD, and this version is based on FreeBSD svn r315983. in addition to the 10 years of improvements from upstream, this version also has these NetBSD-specific enhancements: - dtrace FBT probes can now be placed in kernel modules. - ZFS now supports mmap().
Diffstat (limited to 'sys/modules/dtrace/syscall')
-rw-r--r--sys/modules/dtrace/syscall/Makefile6
1 files changed, 4 insertions, 2 deletions
diff --git a/sys/modules/dtrace/syscall/Makefile b/sys/modules/dtrace/syscall/Makefile
index c6a704017c9..91443b71ed2 100644
--- a/sys/modules/dtrace/syscall/Makefile
+++ b/sys/modules/dtrace/syscall/Makefile
@@ -8,8 +8,10 @@ KMOD= dtrace_syscall
SRCS= systrace.c
CPPFLAGS+= -I${NETBSDSRCDIR}/external/cddl/osnet/sys \
- -I${NETBSDSRCDIR}/external/cddl/osnet/dist/uts/common
+ -I${NETBSDSRCDIR}/external/cddl/osnet/dist/uts/common \
+ -I${NETBSDSRCDIR}/external/cddl/osnet/dev/dtrace
-CPPFLAGS+= -Wno-unknown-pragmas
+CPPFLAGS+= -Wno-unknown-pragmas \
+ -Wno-discarded-qualifiers
.include <bsd.kmodule.mk>