sched: programmable: add bpf hooks to update rq and task state in enqueue_task/deqeue_task of CFS
Add 2 hooks to update rq and task state in enqueue_task_fair() and dequeue_task_fair(): cfs_enqueue_task cfs_dequeue_task When entering and leaving the runqeue, these hooks use to get and update context of interest to bpf prog after the runqueue completes the status change. Signed-off-by:Ren Zhijie <renzhijie2@huawei.com> Signed-off-by:
Hui Tang <tanghui20@huawei.com>
Loading
Please sign in to comment