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)
Fri, May 15, 5:18 AM
Unknown Object (File)
Fri, May 15, 5:18 AM
Unknown Object (File)
Thu, May 14, 9:11 PM
Unknown Object (File)
Thu, May 14, 4:35 PM
Unknown Object (File)
Mon, May 11, 11:29 PM
Unknown Object (File)
Mon, May 11, 11:29 PM
Unknown Object (File)
Thu, Apr 30, 8:45 AM
Unknown Object (File)
Thu, Apr 30, 8:45 AM
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