[RFC] reworking FreeBSD's SDT implementation

Andriy Gapon avg at FreeBSD.org
Thu Jul 25 15:17:20 UTC 2013


on 22/07/2013 05:28 markj at freebsd.org said the following:
> http://people.freebsd.org/~markj/patches/sdt-module-info/20130721-sdt-module-info.diff

Mark,

this is a minor suggestion only partially related to your patch.
I think that it would be nice if module loading and unloading events were posted
via EVENTHANDLER(9) mechanism.  Then instead of introducing yet more DTrace
related hooks in the kernel code, DTrace modules could just subscribe to those
events.  Also, those events could be potentially useful to other consumers
beyond DTrace.
What do you think?

-- 
Andriy Gapon


More information about the freebsd-dtrace mailing list