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
..
2008-11-22 12:34:49 +00:00
2010-04-16 15:43:24 +00:00
2010-04-16 15:43:24 +00:00
2008-11-22 12:34:49 +00:00
2010-04-16 15:43:24 +00:00
2010-03-29 06:55:38 +00:00
2010-05-24 18:21:42 +00:00
2008-11-22 12:34:49 +00:00
2008-11-22 12:34:49 +00:00
2010-04-16 15:43:24 +00:00
2010-04-16 15:43:24 +00:00
2009-12-07 20:49:49 +00:00
2010-04-16 15:43:24 +00:00