freebsd-dev/sys/dev/hwpmc
Mark Johnston 06796b6791 Use pmc_destroy_pmc_descriptor() to actually free the pmc, which is
consistent with pmc_destroy_owner_descriptor(). Also be sure to destroy
PMCs if a process exits or execs without explicitly releasing them.

Reviewed by:	bz, gnn
MFC after:	2 weeks
Sponsored by:	EMC / Isilon Storage Division
Differential Revision: https://reviews.freebsd.org/D958
2014-10-17 19:04:24 +00:00
..
hwpmc_amd.c hwpmc amd_pcpu_fini: fix a bug in code locked under DEBUG 2012-09-18 13:33:39 +00:00
hwpmc_amd.h
hwpmc_arm.c Remove all the checks on curthread != NULL with the exception of some MD 2012-09-13 22:26:22 +00:00
hwpmc_core.c Since introducing the extra mapping in r250103 for architectural performance 2014-10-07 18:00:34 +00:00
hwpmc_core.h Remove some prototypes for undefined functions. 2014-05-15 21:19:13 +00:00
hwpmc_intel.c For Xeon 7500 and 48XX (Nehalem EX and Westmere EX) variants of the 2014-06-04 16:06:38 +00:00
hwpmc_logging.c Pull in r267961 and r267973 again. Fix for issues reported will follow. 2014-06-28 03:56:17 +00:00
hwpmc_mips24k.c
hwpmc_mips.c Fix class malloc init for mips and powerpc that was not converted 2012-04-23 08:58:01 +00:00
hwpmc_mod.c Use pmc_destroy_pmc_descriptor() to actually free the pmc, which is 2014-10-17 19:04:24 +00:00
hwpmc_mpc7xxx.c Enable and disable the PMC unit at load/unload time, respectively. 2014-04-18 06:39:00 +00:00
hwpmc_octeon.c
hwpmc_pentium.c
hwpmc_pentium.h
hwpmc_piv.c Use correct types for sizeof() in the calculations for the malloc(9) sizes [1]. 2014-03-12 10:25:26 +00:00
hwpmc_piv.h Fix undefined behavior: (1 << 31) is not defined as 1 is an int and this 2013-11-30 22:17:27 +00:00
hwpmc_powerpc.c Fix PowerPC backtraces. Since kernel and user have completely separate address 2014-09-14 22:03:41 +00:00
hwpmc_powerpc.h Add hwpmc(4) support for the PowerPC 970 class processors, direct events. 2014-02-01 02:03:50 +00:00
hwpmc_ppc970.c Enable and disable the PMC unit at load/unload time, respectively. 2014-04-18 06:39:00 +00:00
hwpmc_ppro.c Move <machine/apicvar.h> to <x86/apicvar.h>. 2014-01-23 20:10:22 +00:00
hwpmc_ppro.h
hwpmc_soft.c malloc(9) cannot return NULL if M_WAITOK flag is specified. 2013-04-30 15:59:22 +00:00
hwpmc_soft.h
hwpmc_sparc64.c
hwpmc_tsc.c
hwpmc_tsc.h
hwpmc_uncore.c Fix pointer type in call to malloc 2014-03-13 16:51:40 +00:00
hwpmc_uncore.h Remove some prototypes for undefined functions. 2014-05-15 21:19:13 +00:00
hwpmc_x86.c Move <machine/apicvar.h> to <x86/apicvar.h>. 2014-01-23 20:10:22 +00:00
hwpmc_xscale.c
hwpmc_xscale.h
pmc_events.h Add missing Ivy Bridge and Haswell events. 2014-06-02 20:50:08 +00:00