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, Oct 10, 2:16 PM
Unknown Object (File)
Fri, Sep 26, 11:57 PM
Unknown Object (File)
Thu, Sep 18, 10:43 AM
Unknown Object (File)
Sep 14 2025, 2:42 AM
Unknown Object (File)
Sep 13 2025, 10:56 AM
Unknown Object (File)
Sep 3 2025, 1:35 PM
Unknown Object (File)
Sep 3 2025, 4:15 AM
Unknown Object (File)
Aug 15 2025, 12:27 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