freebsd-dev/sys/modules/dtrace/Makefile.inc
Mark Johnston 32cd0147fa Implement the lockstat provider using SDT(9) instead of the custom provider
in lockstat.ko. This means that lockstat probes now have typed arguments and
will utilize SDT probe hot-patching support when it arrives.

Reviewed by:	gnn
Differential Revision:	https://reviews.freebsd.org/D2993
2015-07-19 22:14:09 +00:00

26 lines
362 B
Makefile

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