Page MenuHomeFreeBSD

hwpmc: tidy pcd_finalize methods
ClosedPublic

Authored by mhorne on Aug 1 2023, 4:23 PM.
Tags
None
Referenced Files
Unknown Object (File)
Sun, Oct 11, 9:39 PM
Unknown Object (File)
Sat, Oct 10, 12:35 AM
Unknown Object (File)
Tue, Oct 6, 6:46 PM
Unknown Object (File)
Mon, Oct 5, 7:04 PM
Unknown Object (File)
Fri, Oct 2, 10:59 AM
Unknown Object (File)
Tue, Sep 29, 6:20 PM
Unknown Object (File)
Tue, Sep 29, 6:19 PM
Unknown Object (File)
Sep 12 2026, 11:24 PM
Subscribers

Details

Summary

Make them a little bit more consistent with one another in terms of what
is done:

  • Add/reduce assertions to what is most useful: a loop to ensure pcpu_fini freed everything
  • Add PMCDBG trace entries

The exception is the dmc620/cmn600 classes which behave a little
differently, so leave them untouched.

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 52928
Build 49819: arc lint + arc unit