HomeFreeBSD

vmm: Move duplicated stats code into a generic file

Description

vmm: Move duplicated stats code into a generic file

There is a small difference between the arm64 and amd64 implementations:
the latter makes use of a "scope" to exclude AMD-specific stats on Intel
systems and vice-versa. Replace this with a more generic predicate
callback which can be used for the same purpose.

No functional change intended.

Reviewed by: corvink, jhb
Differential Revision: https://reviews.freebsd.org/D46430

Details

Provenance
markjAuthored on Aug 26 2024, 6:41 PM
Reviewer
corvink
Differential Revision
D46430: vmm: Move duplicated stats code into a generic file
Parents
rG3ccb02334bf5: vmm: Move vmm_ktr.h to a common directory
Branches
Unknown
Tags
Unknown