Re: Using perf to access hardware events in pre-launched VM
In ACRN2.7 it has supported to pass-through PMU (hardware events) to RTVM. For cache-misses, LLC-stores, LLC-store-misses hardware events, it shall support.
You can have a check for pre-launch VM:
1. rdmsr 0x186 à if can’t read, it could be some configuration issues.
2. please check your scenario file:
<lapic_passthrough>y</lapic_passthrough> à if it is configured, you can search code: is_lapic_pt_configured shall be used for PMU MSRs.
From: acrn-users@... <acrn-users@...> On Behalf Of Paolo Crotti
Sent: Wednesday, March 23, 2022 11:55 PM
Subject: [acrn-users] Using perf to access hardware events in pre-launched VM