Searched hist:254813 (Results 1 - 4 of 4) sorted by relevance

/freebsd-10-stable/share/man/man9/
H A DEVENTHANDLER.9diff 254813 Sat Aug 24 19:30:08 MDT 2013 markj 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
/freebsd-10-stable/sys/cddl/dev/dtrace/
H A Ddtrace_unload.c
H A Ddtrace_load.c
/freebsd-10-stable/sys/sys/
H A Dpmckern.hdiff 254813 Sat Aug 24 19:30:08 MDT 2013 markj 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

Completed in 61 milliseconds