[prev in list] [next in list] [prev in thread] [next in thread] 

List:       freebsd-hackers
Subject:    SI_SUB_DTRACE_PROVIDER
From:       Andriy Gapon <avg () FreeBSD ! org>
Date:       2013-03-19 13:15:06
Message-ID: 514864DA.2060503 () FreeBSD ! org
[Download RAW message or body]

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


_______________________________________________
freebsd-hackers@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@freebsd.org"

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic