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

/freebsd-11-stable/sys/dev/hwpmc/
H A Dhwpmc_mod.cdiff 207484 Sat May 01 20:09:15 MDT 2010 rstone 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: jkoshy (mentor)
MFC after: 2 weeks

Completed in 103 milliseconds