Re: [PATCH 00/19] perf: Make perf_pmu_unregister() usable
From: Lucas De Marchi
Date: Mon Dec 16 2024 - 13:14:30 EST
Hi Peter,
On Mon, Nov 04, 2024 at 02:39:09PM +0100, Peter Zijlstra wrote:
Hi,
Lucas convinced me that perf_pmu_unregister() is a trainwreck; after
considering a few options I was like, how hard could it be..
So find here a few patches that clean things up in preparation and then a final
patch that makes unregistering a PMU work by introducing a new event state
(REVOKED) and ensuring that any event in such a state will never get to using
it's PMU methods ever again.
Any updates on this series? I'm trying to understand if there are any
blockers I could help with - we are aiming to add perf pmu to the xe
driver, but I'd like to have a reliable unregister first.
thanks
Lucas De Marchi