Page MenuHomeFreeBSD

Fix INVARIANTS debug code in HWPMC
ClosedPublic

Authored by mw_semihalf.com on May 25 2017, 3:34 PM.

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
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

This revision was automatically updated to reflect the committed changes.