Page MenuHomeFreeBSD

hwpmc: tidy pcd_finalize methods
ClosedPublic

Authored by mhorne on Aug 1 2023, 4:23 PM.
Tags
None
Referenced Files
F166621251: D41270.diff
Fri, Aug 14, 10:32 PM
Unknown Object (File)
Wed, Aug 12, 10:00 PM
Unknown Object (File)
Mon, Aug 10, 6:01 PM
Unknown Object (File)
Sat, Aug 8, 5:34 PM
Unknown Object (File)
Sun, Aug 2, 6:15 AM
Unknown Object (File)
Sun, Aug 2, 3:06 AM
Unknown Object (File)
Sat, Aug 1, 7:19 AM
Unknown Object (File)
Tue, Jul 28, 9:14 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 Not Applicable
Unit
Tests Not Applicable