Hi Shaopeng,

On 1/22/26 8:40 PM, Shaopeng Tan wrote:
> The Linux manual states regarding exclude_idle: "While you can currently
> enable this for any event type, it is ignored for all but software events."
> Also, it appears exclude_idle is not supported on Arm.

Just to confirm, does "not supported on Arm" imply that perf_event_open() fails 
when
exclude_idle is 1? Thus encountering:
        EPERM  Returned  on  many  (but  not  all)  architectures when an 
unsupported
                exclude_hv, exclude_idle, exclude_user, or exclude_kernel 
setting is
                specified.

Reinette

Reply via email to