Page MenuHomeFreeBSD

hwpmc: tidy pcd_finalize methods
ClosedPublic

Authored by mhorne on Aug 1 2023, 4:23 PM.
Tags
None
Referenced Files
F154976308: D41270.diff
Thu, Apr 30, 10:19 AM
Unknown Object (File)
Thu, Apr 30, 8:44 AM
Unknown Object (File)
Mon, Apr 27, 6:55 PM
Unknown Object (File)
Mon, Apr 27, 11:52 AM
Unknown Object (File)
Mon, Apr 27, 6:10 AM
Unknown Object (File)
Sun, Apr 26, 7:48 AM
Unknown Object (File)
Sun, Apr 26, 5:58 AM
Unknown Object (File)
Thu, Apr 23, 4:08 AM
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