Commit 8085949f authored by Ren Zhijie's avatar Ren Zhijie Committed by Zhong Jinghua
Browse files

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: default avatarRen Zhijie <renzhijie2@huawei.com>
Signed-off-by: default avatarHui Tang <tanghui20@huawei.com>
parent 324e7c64
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment