SI_SUB_DTRACE_PROVIDER
Andriy Gapon
avg at FreeBSD.org
Tue Mar 19 13:15:12 UTC 2013
Does anyone know what is the point of SYSINIT(SI_SUB_DTRACE_PROVIDER)?
Specifically, as opposed to normal MOD_LOAD/MOD_UNLOAD handling.
I am thoroughly confused about DTrace modules using DEV_MODULE() with the dummy
handlers and then using SYSINIT/SYSUNINIT when they could use
DECLARE_MODULE(SI_SUB_DTRACE_PROVIDER). Especially this is concerning because
return values from SYSUNINIT functions are ignored. Unlike MOD_UNLOAD.
--
Andriy Gapon
More information about the freebsd-hackers
mailing list