mirror of
https://github.com/opnsense/src.git
synced 2026-04-27 00:58:36 -04:00
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 |
||
|---|---|---|
| .. | ||
| hwpmc_amd.c | ||
| hwpmc_amd.h | ||
| hwpmc_arm.c | ||
| hwpmc_core.c | ||
| hwpmc_core.h | ||
| hwpmc_ia64.c | ||
| hwpmc_intel.c | ||
| hwpmc_logging.c | ||
| hwpmc_mips.c | ||
| hwpmc_mips24k.c | ||
| hwpmc_mod.c | ||
| hwpmc_octeon.c | ||
| hwpmc_pentium.c | ||
| hwpmc_pentium.h | ||
| hwpmc_piv.c | ||
| hwpmc_piv.h | ||
| hwpmc_powerpc.c | ||
| hwpmc_ppro.c | ||
| hwpmc_ppro.h | ||
| hwpmc_soft.c | ||
| hwpmc_soft.h | ||
| hwpmc_sparc64.c | ||
| hwpmc_tsc.c | ||
| hwpmc_tsc.h | ||
| hwpmc_uncore.c | ||
| hwpmc_uncore.h | ||
| hwpmc_x86.c | ||
| hwpmc_xscale.c | ||
| hwpmc_xscale.h | ||
| pmc_events.h | ||