Re: [PATCH v2 01/11] sched_ext: Implement event counter infrastructure

Changwoo Min
2025-01-30T06:12:26Z

Hello,

On 25. 1. 28. 05:09, Tejun Heo wrote:
> Hello,
>
> On Sun, Jan 26, 2025 at 07:16:04PM +0900, Changwoo Min wrote:
> ...
>> +/*
>> + * scx_bpf_event_stats - Get a system-wide event counter to
>> + * @events: output buffer from a BPF program
>> + * @events__sz: @events len, must end in '__sz'' for the verifier
>> + */
>> +__bpf_kfunc void scx_bpf_event_stats(struct scx_event_stats *events,
>> + size_t events__sz)
>
> scx_bpf_events()?

That sounds simpler. I will change it in the next version.

Regards,
Changwoo Min