Re: [PATCH v3 1/3] perf: Add PERF_EVENT_IOC_INC_EVENT_LIMIT

From: Peter Zijlstra
Date: Mon Jan 13 2025 - 08:20:18 EST


On Mon, Jan 06, 2025 at 08:07:32PM -0800, Charlie Jenkins wrote:
> PERF_EVENT_IOC_REFRESH immediately enables after incrementing
> event_limit. Provide a new ioctl flag that allows programs to increment
> event_limit without enabling the event. A usecase for this is to set an
> event_limit in combination with enable_on_exec.


Utter lack of WHY.