-
Notifications
You must be signed in to change notification settings - Fork 337
Virtualization support
Andi Kleen edited this page Aug 26, 2020
·
3 revisions
Using pmu-tools in guests.
- All tools require the PMU to be exposed. This depends on the VM configuration. With qemu the PMU can usually be enabled with --cpu host, otherwise make sure the ArchPerfmon flag is exposed to the guest.
- toplev on KVM requires the host kernel to satisfy the same perf driver requirements as the guest kernel.
- The guest should expose the same CPU family/model as the host has. If not and you know the model number of the host this can be overridden with EVENTMAP=... / FORCECPU=...
- PEBS monitoring for sampling will not work in the guest
- Some nodes relying on OFFCORE_RESPONSE/OCR will not work in the guest.
- Uncore monitoring will not work in the guest
- ucevent does not work in guests (but may on the host)