Page MenuHomeFreeBSD

hwpmc: tidy pcd_finalize methods
ClosedPublic

Authored by mhorne on Aug 1 2023, 4:23 PM.
Tags
None
Referenced Files
F163487710: D41270.diff
Thu, Jul 23, 5:12 PM
F163472038: D41270.id125424.diff
Thu, Jul 23, 12:17 PM
Unknown Object (File)
Mon, Jul 20, 9:28 AM
Unknown Object (File)
Sat, Jul 18, 11:22 AM
Unknown Object (File)
Sat, Jul 18, 10:21 AM
Unknown Object (File)
Tue, Jul 7, 9:36 AM
Unknown Object (File)
Sun, Jul 5, 7:20 AM
Unknown Object (File)
Sun, Jul 5, 4:06 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