29f4e216f2
kld_unload event handler which gets invoked after a linker file has been successfully unloaded. The kld_unload and kld_load event handlers are now invoked with the shared linker lock held, while kld_unload_try is invoked with the lock exclusively held. Convert hwpmc(4) to use these event handlers instead of having kern_kldload() and kern_kldunload() invoke hwpmc(4) hooks whenever files are loaded or unloaded. This has no functional effect, but simplifes the linker code somewhat. Reviewed by: jhb |
||
---|---|---|
.. | ||
amd64 | ||
i386 | ||
mips | ||
powerpc | ||
dtrace_anon.c | ||
dtrace_cddl.h | ||
dtrace_clone.c | ||
dtrace_debug.c | ||
dtrace_hacks.c | ||
dtrace_ioctl.c | ||
dtrace_load.c | ||
dtrace_modevent.c | ||
dtrace_sysctl.c | ||
dtrace_test.c | ||
dtrace_unload.c | ||
dtrace_vtime.c |