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)
Tue, Apr 22, 4:28 PM
Unknown Object (File)
Tue, Apr 22, 1:49 AM
Unknown Object (File)
Sat, Apr 19, 8:53 PM
Unknown Object (File)
Thu, Apr 17, 1:51 PM
Unknown Object (File)
Mon, Apr 14, 8:03 AM
Unknown Object (File)
Mon, Apr 14, 5:20 AM
Unknown Object (File)
Mon, Apr 14, 1:17 AM
Unknown Object (File)
Sun, Apr 13, 10:52 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