Re: [PATCH v7 5/5] perf: Correct perf sampling with guest VMs

2024-11-07 Thread Liang, Kan
On 2024-11-07 2:03 p.m., Colton Lewis wrote: > Previously any PMU overflow interrupt that fired while a VCPU was > loaded was recorded as a guest event whether it truly was or not. This > resulted in nonsense perf recordings that did not honor > perf_event_attr.exclude_guest and recorded guest I

[PATCH v7 5/5] perf: Correct perf sampling with guest VMs

2024-11-07 Thread Colton Lewis
Previously any PMU overflow interrupt that fired while a VCPU was loaded was recorded as a guest event whether it truly was or not. This resulted in nonsense perf recordings that did not honor perf_event_attr.exclude_guest and recorded guest IPs where it should have recorded host IPs. Rework the s