Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/modules/dtrace DTrace: add the dtrace module.
details: https://anonhg.NetBSD.org/src/rev/3d80230df1dc
branches: trunk
changeset: 752264:3d80230df1dc
user: darran <darran%NetBSD.org@localhost>
date: Sun Feb 21 11:16:19 2010 +0000
description:
DTrace: add the dtrace module.
diffstat:
sys/modules/dtrace/Makefile | 8 ++++++++
sys/modules/dtrace/dtrace/Makefile | 33 +++++++++++++++++++++++++++++++++
2 files changed, 41 insertions(+), 0 deletions(-)
diffs (49 lines):
diff -r a06b2e813f9b -r 3d80230df1dc sys/modules/dtrace/Makefile
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/sys/modules/dtrace/Makefile Sun Feb 21 11:16:19 2010 +0000
@@ -0,0 +1,8 @@
+# $NetBSD: Makefile,v 1.1 2010/02/21 11:16:19 darran Exp $
+# $FreeBSD: src/sys/modules/dtrace/Makefile,v 1.6.2.1 2009/08/03 08:13:06 kensmith Exp $
+
+.include <bsd.own.mk>
+
+SUBDIR= dtrace
+
+.include <bsd.subdir.mk>
diff -r a06b2e813f9b -r 3d80230df1dc sys/modules/dtrace/dtrace/Makefile
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/sys/modules/dtrace/dtrace/Makefile Sun Feb 21 11:16:19 2010 +0000
@@ -0,0 +1,33 @@
+# $FreeBSD: src/sys/modules/dtrace/dtrace/Makefile,v 1.2.2.1 2009/08/03 08:13:06 kensmith Exp $
+
+#.include "../../Makefile.inc"
+
+ARCHDIR= ${MACHINE}
+
+.PATH: ${NETBSDSRCDIR}/external/cddl/osnet/dist/uts/common/dtrace
+.PATH: ${NETBSDSRCDIR}/external/cddl/osnet/dev/dtrace
+.PATH: ${NETBSDSRCDIR}/external/cddl/osnet/dev/dtrace/${ARCHDIR}
+
+KMOD= dtrace
+SRCS= dtrace.c \
+ dtrace_asm.S \
+ dtrace_subr.c
+
+.if ${MACHINE} == "amd64" || ${MACHINE} == "i386"
+SRCS+= dis_tables.c \
+ instr_size.c
+.endif
+
+CPPFLAGS+= -I${NETBSDSRCDIR}/external/cddl/osnet/sys \
+ -I${NETBSDSRCDIR}/external/cddl/osnet/dev/dtrace \
+ -I${NETBSDSRCDIR}/external/cddl/osnet/dev/dtrace/${ARCHDIR} \
+ -I${NETBSDSRCDIR}/external/cddl/osnet/dist/uts/common \
+ -DDIS_MEM
+
+CPPFLAGS+= -DSMP -DDEBUG
+
+EXPORT_SYMS= dtrace_register \
+ dtrace_unregister \
+ dtrace_probe_lookup
+
+.include <bsd.kmodule.mk>
Home |
Main Index |
Thread Index |
Old Index