Re: [PATCH V3 02/16] perf: Fix the throttle logic for a group

From: Ingo Molnar
Date: Sat May 17 2025 - 04:23:06 EST



* kan.liang@xxxxxxxxxxxxxxx <kan.liang@xxxxxxxxxxxxxxx> wrote:

> The throttle only happens when an event is overflowed. Stop the entire
> group when any event in the group triggers the throttle.
> The MAX_INTERRUPTS is set to all throttle events.

Since this is a relatively long series with a healthy dose of
breakage-risk, I'm wondering about bisectability:

- patch #2 auto-throttles groups, ie. stops the PMU

- patches #3-#16 removes explicit PMU-stop calls.

In the interim commits, will the double PMU-stop in drivers not updated
yet do anything noticeable, such as generate warnings, etc?

Thanks,

Ingo