sched_ext: Add an event, SCX_EV_DISPATCH_LOCAL_DSQ_OFFLINE

Add a core event, SCX_EV_DISPATCH_LOCAL_DSQ_OFFLINE, which represents how
many times a BPF scheduler tries to dispatch to an offlined local DSQ.

__scx_add_event() is used since the caller holds an rq lock,
so the preemption has already been disabled.

Signed-off-by: Changwoo Min <changwoo@igalia.com>
Signed-off-by: Tejun Heo <tj@kernel.org>
This commit is contained in:
Changwoo Min 2025-01-31 16:09:30 +09:00 • committed by Tejun Heo
commit 9be0a1b0c8