Page MenuHomeFreeBSD

Fix INVARIANTS debug code in HWPMC
ClosedPublic

Authored by mw_semihalf.com on May 25 2017, 3:34 PM.
Tags
Referenced Files
Unknown Object (File)
Sat, Jan 17, 3:18 AM
Unknown Object (File)
Thu, Jan 15, 12:31 PM
Unknown Object (File)
Sat, Jan 10, 5:09 AM
Unknown Object (File)
Sat, Jan 10, 3:28 AM
Unknown Object (File)
Sat, Jan 10, 1:34 AM
Unknown Object (File)
Sat, Jan 10, 12:32 AM
Unknown Object (File)
Sat, Jan 10, 12:04 AM
Unknown Object (File)
Fri, Jan 9, 8:00 PM
Subscribers

Details

Summary
  • When HWPMC stops sampling, ps_pmc may be freed before samples are processed. In such situation treat PMC as stopped.
  • Add "ifdef" to fix build without INVARIANTS code.

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Not Applicable
Unit
Tests Not Applicable