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
_______________________________________________ [email protected] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe, send any mail to "[email protected]"

