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)
Jun 7 2024, 10:27 PM
Unknown Object (File)
Jun 2 2024, 8:38 AM
Unknown Object (File)
May 19 2024, 11:27 AM
Unknown Object (File)
May 11 2024, 7:49 AM
Unknown Object (File)
May 6 2024, 1:05 PM
Unknown Object (File)
Apr 25 2024, 5:42 AM
Unknown Object (File)
Apr 11 2024, 1:09 PM
Unknown Object (File)
Apr 10 2024, 7:58 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