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

2024-09-11 Thread Colton Lewis
Mark Rutland writes: On Wed, Sep 04, 2024 at 08:41:33PM +, 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.ex

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

2024-09-05 Thread Mark Rutland
On Wed, Sep 04, 2024 at 08:41:33PM +, 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 5/5] perf: Correct perf sampling with guest VMs

2024-09-04 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. Reorganize t