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)
Wed, Feb 11, 1:48 PM
Unknown Object (File)
Wed, Feb 11, 1:21 PM
Unknown Object (File)
Sun, Feb 8, 4:36 PM
Unknown Object (File)
Sat, Feb 7, 5:14 PM
Unknown Object (File)
Sun, Jan 25, 1:14 AM
Unknown Object (File)
Dec 17 2025, 12:17 AM
Unknown Object (File)
Dec 4 2025, 3:15 AM
Unknown Object (File)
Dec 4 2025, 12:58 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 Not Applicable
Unit
Tests Not Applicable