freebsd-nq/sys/cddl/dev/dtrace
Mark Johnston 29f4e216f2 Rename the kld_unload event handler to kld_unload_try, and add a new
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
2013-08-24 21:13:38 +00:00
..
amd64 dtrace disassembler: take the latest/last CDDL code from OpenSolaris 2013-07-29 16:56:38 +00:00
i386 dtrace disassembler: take the latest/last CDDL code from OpenSolaris 2013-07-29 16:56:38 +00:00
mips - For o32 ABI get arguments from the stack 2012-03-26 21:47:06 +00:00
powerpc Make dtrace_copy() actually work on PowerPC. Although unused currently, 2013-08-22 02:54:20 +00:00
dtrace_anon.c
dtrace_cddl.h Add more compatibility structure members needed by the upcoming fasttrap 2010-08-22 11:04:43 +00:00
dtrace_clone.c
dtrace_debug.c Correct a series of errors in the hand-rolled locking for drace_debug.c: 2012-12-23 15:50:37 +00:00
dtrace_hacks.c
dtrace_ioctl.c Hide references to mod_lock. In FreeBSD it is always acquired with the 2013-07-05 22:42:10 +00:00
dtrace_load.c Rename the kld_unload event handler to kld_unload_try, and add a new 2013-08-24 21:13:38 +00:00
dtrace_modevent.c
dtrace_sysctl.c
dtrace_test.c Port the SDT test now that it's possible to create SDT probes that take 2013-06-02 00:33:36 +00:00
dtrace_unload.c Rename the kld_unload event handler to kld_unload_try, and add a new 2013-08-24 21:13:38 +00:00
dtrace_vtime.c