Page MenuHomeFreeBSD

Fix INVARIANTS debug code in HWPMC
ClosedPublic

Authored by mw_semihalf.com on May 25 2017, 3:34 PM.
Tags
Referenced Files
F82070068: D10912.diff
Thu, Apr 25, 5:42 AM
Unknown Object (File)
Thu, Apr 11, 1:09 PM
Unknown Object (File)
Wed, Apr 10, 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
Unknown Object (File)
Dec 11 2023, 1:27 PM
Unknown Object (File)
Nov 26 2023, 9:45 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