Re: Using perf to access hardware events in pre-launched VM
Minggui Cao
Hi, Paolo,
Could you check again to rdmsr 0x186 and 0x38f? If the ACRN has not pass-through PMU to VM, it shall like following:
root@10239146109sos-dom0:~# dmesg | grep -i pmu [ 0.143455] Performance Events: unsupported p6 CPU model 140 no PMU driver, software events only. root@10239146109sos-dom0:~# rdmsr 0x186 rdmsr: CPU 0 cannot read MSR 0x00000186 root@10239146109sos-dom0:~# rdmsr 0x38f rdmsr: CPU 0 cannot read MSR 0x0000038f
But from your feedback, you can rdmsr 0x186 and no PMU driver. It is very strange.
Thanks! Minggui
From: acrn-users@... <acrn-users@...>
On Behalf Of Paolo Crotti
Sent: Monday, March 28, 2022 6:15 PM To: acrn-users@... Subject: Re: [acrn-users] Using perf to access hardware events in pre-launched VM
Hi Minggui, [ 0.075539] Performance Events: unsupported p6 CPU model 150 no PMU driver, software events only. |
|