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

2024-10-04 Thread Mark Rutland
On Fri, Sep 20, 2024 at 05:47:40PM +, 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 re

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

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