Re: [PATCH v2] sched_ext: Add trace point to track sched_ext core events

From: Changwoo Min
Date: Fri Feb 28 2025 - 19:46:47 EST




On 25. 3. 1. 08:50, Tejun Heo wrote:
Hello,

On Sat, Mar 01, 2025 at 08:33:36AM +0900, Changwoo Min wrote:
...
You might have two options here: 1) returning per-CPU event
counter or 2) returning aggregated event counter. The first opion
will be fast but less meaningful from user's point of view
compared to the second option. Assuming the tracepoint are not in
the hot path, I think the second option will be better choice.
I will add an @event field and a special version of
scx_bpf_events() for faster aggregation.

Ah, right, let's forget about printing aggregate for now. That's not
difficult for anyone to find out if necessary after all.

Okay. I will send a new version with __s64 changes.

Thanks!