Commit Graph
1 Commits
Author SHA1 Message Date
Nuno Das Neves c23271b636 mshv: Add data for printing stats page counters
Introduce mshv_debugfs_counters.c, containing static data
corresponding to HV_*_COUNTER enums in the hypervisor source.
Defining the enum members as an array instead makes more sense,
since it will be iterated over to print counter information to
debugfs.

Include hypervisor, logical processor, partition, and virtual
processor counters.

Signed-off-by: Nuno Das Neves <[email protected]>
Acked-by: Stanislav Kinsburskii <[email protected]>
Reviewed-by: Michael Kelley <[email protected]>
Signed-off-by: Wei Liu <[email protected]>
2026-02-04 06:17:05 +00:00