Re: [PATCH 8/8] drm/i915/pmu: Release open events when unregistering

2024-10-29 Thread Matt Roper
On Fri, Oct 11, 2024 at 03:54:30PM -0700, Lucas De Marchi wrote: > When unregistering the PMU, disable the active events. This > allows userspace to see the change and possibly react on it, like > reopening the fd. > > With perf-stat, "" starts to be printed: > > 2.007597571500,909,

[PATCH 8/8] drm/i915/pmu: Release open events when unregistering

2024-10-11 Thread Lucas De Marchi
When unregistering the PMU, disable the active events. This allows userspace to see the change and possibly react on it, like reopening the fd. With perf-stat, "" starts to be printed: 2.007597571500,909,500 ns i915__03_00.0/rc6-residency/ 2.508569383