opnsense-src/sys/dev/hwpmc
Ryan Stone 0cd51665f0 MFC r207484:
When configuring a system-wide couting PMC, hwpmc was incorrectly logging
 process mappings for that PMC.  Nothing ever reads pmc logs out of a
 counting PMC, so the log buffers were leaked when the PMC was
 deconfigured.  The process mappings are only useful for sampling PMCs
 anyway, so only log the mappings if the PMC is a sampling PMC.

 This bug would cause allocating sample-mode PMCs to fail with ENOMEM
 after allocating several counting-mode PMCs.

Approved by:	emaste (mentor)
2010-05-24 18:21:42 +00:00
..
hwpmc_amd.c - Efficiency tweak: when checking for PMC overflows, only go to 2008-12-02 10:46:35 +00:00
hwpmc_amd.h - Separate PMC class dependent code from other kinds of machine 2008-11-09 17:37:54 +00:00
hwpmc_arm.c Unbreak LINT. 2008-11-22 12:34:49 +00:00
hwpmc_core.c MFC r206089, r206684: 2010-04-16 15:43:24 +00:00
hwpmc_core.h MFC r206089, r206684: 2010-04-16 15:43:24 +00:00
hwpmc_ia64.c Unbreak LINT. 2008-11-22 12:34:49 +00:00
hwpmc_intel.c MFC r206089, r206684: 2010-04-16 15:43:24 +00:00
hwpmc_logging.c MFC r205694: 2010-03-29 06:55:38 +00:00
hwpmc_mod.c MFC r207484: 2010-05-24 18:21:42 +00:00
hwpmc_pentium.c - Separate PMC class dependent code from other kinds of machine 2008-11-09 17:37:54 +00:00
hwpmc_pentium.h - Separate PMC class dependent code from other kinds of machine 2008-11-09 17:37:54 +00:00
hwpmc_piv.c Adjust the handling of the local APIC PMC interrupt vector: 2009-08-14 20:57:21 +00:00
hwpmc_piv.h - Separate PMC class dependent code from other kinds of machine 2008-11-09 17:37:54 +00:00
hwpmc_powerpc.c Unbreak LINT. 2008-11-22 12:34:49 +00:00
hwpmc_ppro.c Adjust the handling of the local APIC PMC interrupt vector: 2009-08-14 20:57:21 +00:00
hwpmc_ppro.h - Separate PMC class dependent code from other kinds of machine 2008-11-09 17:37:54 +00:00
hwpmc_sparc64.c Unbreak LINT. 2008-11-22 12:34:49 +00:00
hwpmc_tsc.c - Separate PMC class dependent code from other kinds of machine 2008-11-09 17:37:54 +00:00
hwpmc_tsc.h - Separate PMC class dependent code from other kinds of machine 2008-11-09 17:37:54 +00:00
hwpmc_uncore.c MFC r206089, r206684: 2010-04-16 15:43:24 +00:00
hwpmc_uncore.h MFC r206089, r206684: 2010-04-16 15:43:24 +00:00
hwpmc_x86.c MFC 200060: 2009-12-07 20:49:49 +00:00
pmc_events.h MFC r206089, r206684: 2010-04-16 15:43:24 +00:00