Page MenuHomeFreeBSD

Fix INVARIANTS debug code in HWPMC
ClosedPublic

Authored by mw_semihalf.com on May 25 2017, 3:34 PM.
Tags
Referenced Files
F174266808: D10912.diff
Thu, Oct 1, 9:04 PM
F174175105: D10912.id28803.diff
Thu, Oct 1, 3:53 AM
F174174181: D10912.id29565.diff
Thu, Oct 1, 3:45 AM
F174172927: D10912.id.diff
Thu, Oct 1, 3:32 AM
F174170746: D10912.diff
Thu, Oct 1, 3:06 AM
Unknown Object (File)
Tue, Sep 29, 6:22 PM
Unknown Object (File)
Tue, Sep 29, 6:22 PM
Unknown Object (File)
Tue, Sep 29, 4:15 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