Page MenuHomeFreeBSD

hwpmc: remove stub pmd_switch_{in,out} methods
ClosedPublic

Authored by mhorne on May 1 2023, 7:40 PM.
Tags
None
Referenced Files
Unknown Object (File)
Fri, Apr 24, 9:50 AM
Unknown Object (File)
Tue, Apr 21, 12:31 PM
Unknown Object (File)
Tue, Apr 21, 4:14 AM
Unknown Object (File)
Mon, Apr 20, 12:51 PM
Unknown Object (File)
Mon, Apr 20, 10:36 AM
Unknown Object (File)
Sun, Apr 19, 10:52 PM
Unknown Object (File)
Sun, Apr 19, 5:11 PM
Unknown Object (File)
Sat, Apr 18, 10:14 AM

Details

Summary

Most platforms (non-x86) don't require these methods and implement stub
versions. If we initialize the pmc_mdep structure to always point to the
generic versions, then we can purge the duplicate stubs.

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable