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, May 11, 7:49 AM
Unknown Object (File)
Mon, May 6, 1:05 PM
Unknown Object (File)
Thu, Apr 25, 5:42 AM
Unknown Object (File)
Apr 11 2024, 1:09 PM
Unknown Object (File)
Apr 10 2024, 7:58 PM
Unknown Object (File)
Feb 9 2024, 12:21 PM
Unknown Object (File)
Dec 28 2023, 12:46 PM
Unknown Object (File)
Dec 22 2023, 11:22 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 Skipped
Unit
Tests Skipped