ANDROID: sched: Update android_rvh_check_preempt_wakeup hook
android_rvh_check_preempt_wakeup hook is in place to allow vendor modules to force the running task preemption by the waking task. Update the tracepoint to accept another input to not preempting the current running task. The hook is moved further down so that it can be updated to pass the sched_entity structure corresponding to waking and running tasks in the next patch. Bug: 184575210 Change-Id: Id4f45ba2819802636b6b86ed34c124771d0d69eb Signed-off-by: Pavankumar Kondeti <quic_pkondeti@quicinc.com>
This commit is contained in:

committed by
Todd Kjos

parent
087cb51ae7
commit
a038be9b2c
@@ -252,8 +252,8 @@ DECLARE_RESTRICTED_HOOK(android_rvh_pick_next_entity,
|
||||
TP_ARGS(cfs_rq, curr, se), 1);
|
||||
|
||||
DECLARE_RESTRICTED_HOOK(android_rvh_check_preempt_wakeup,
|
||||
TP_PROTO(struct rq *rq, struct task_struct *p, bool *preempt),
|
||||
TP_ARGS(rq, p, preempt), 1);
|
||||
TP_PROTO(struct rq *rq, struct task_struct *p, bool *preempt, bool *nopreempt),
|
||||
TP_ARGS(rq, p, preempt, nopreempt), 1);
|
||||
|
||||
DECLARE_HOOK(android_vh_do_wake_up_sync,
|
||||
TP_PROTO(struct wait_queue_head *wq_head, int *done),
|
||||
|
Reference in New Issue
Block a user