Re: Using perf to access hardware events in pre-launched VM
Minggui Cao
Hi,Paolo, 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:
<vm id=”0”> <vm_type>RTVM</vm_type> <load_order>PRE_LAUNCHED_VM</load_order> <name>PRE_RT_VM0</name> <lapic_passthrough>y</lapic_passthrough> à if it is configured, you can search code: is_lapic_pt_configured shall be used for PMU MSRs.
Thanks Minggui
From: acrn-users@... <acrn-users@...>
On Behalf Of Paolo Crotti
Sent: Wednesday, March 23, 2022 11:55 PM To: acrn-users@... Subject: [acrn-users] Using perf to access hardware events in pre-launched VM
Hi everyone, |
|