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)
Wed, Sep 16, 7:53 PM
Unknown Object (File)
Fri, Sep 11, 1:20 PM
Unknown Object (File)
Sun, Aug 30, 12:50 PM
Unknown Object (File)
Mon, Aug 24, 4:51 PM
Unknown Object (File)
Mon, Aug 24, 4:20 PM
Unknown Object (File)
Aug 17 2026, 6:12 PM
Unknown Object (File)
Aug 14 2026, 9:30 PM
Unknown Object (File)
Aug 11 2026, 9:21 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