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

2024-09-12 Thread Colton Lewis
Sean Christopherson writes: On Wed, Sep 11, 2024, 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 a

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

2024-09-11 Thread Sean Christopherson
On Wed, Sep 11, 2024, 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 IPs whe

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

2024-09-11 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