freebsd-nq/sys/modules/dtrace/Makefile.inc
Andriy Gapon 036a8c5dac remove opensolaris cyclic code, replace with high-precision callouts
In the old days callout(9) had 1 tick precision and that was inadequate
for some uses, e.g. DTrace profile module, so we had to emulate cyclic
API and behavior.  Now we can directly use callout(9) in the very few
places where cyclic was used.

Differential Revision:	https://reviews.freebsd.org/D1161
Reviewed by:	gnn, jhb, markj
MFC after:	2 weeks
2014-12-07 11:21:41 +00:00

28 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