opnsense-src/sys/modules/dtrace/Makefile.inc
Franco Fichtner cd6ee62847 src: clean-cut move to 10.2-RELEASE
Start fresh on master, only apply needed patches on top now.

Upstream commit:	56279fdef34eb28a4655b489b992c651bd8379fc
Taken from:		FreeBSD
2015-08-14 14:15:00 +02:00

27 lines
402 B
Makefile

# $FreeBSD$
IGNORE_PRAGMA= 1
load :
-kldload dtrace
.if ${MACHINE_CPUARCH} == "i386"
-kldload sdt
-kldload lockstat
-kldload fbt
-kldload prototype
.endif
-kldload profile
-kldload systrace
kldstat
unload :
-kldunload systrace
-kldunload profile
.if ${MACHINE_CPUARCH} == "i386"
-kldunload prototype
-kldunload fbt
-kldunload lockstat
-kldunload sdt
.endif
-kldunload dtrace
kldstat