Date: Tue, 19 Mar 2013 15:15:06 +0200 From: Andriy Gapon <avg@FreeBSD.org> To: freebsd-hackers@FreeBSD.org Subject: SI_SUB_DTRACE_PROVIDER Message-ID: <514864DA.2060503@FreeBSD.org>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?514864DA.2060503>