ANDROID: sched: Add restricted vendor hooks in CFS scheduler
Add restricted vendor hooks in CFS scheduler class to allow customizations in vendor modules. Bug: 180668820 Change-Id: I69bd90e11220d7607b075a3aa687059deaa60439 Signed-off-by: Pavankumar Kondeti <quic_pkondeti@quicinc.com>
This commit is contained in:
@@ -242,6 +242,16 @@ DECLARE_RESTRICTED_HOOK(android_rvh_dequeue_task_idle,
|
||||
TP_PROTO(struct task_struct *p),
|
||||
TP_ARGS(p), 1);
|
||||
|
||||
struct cfs_rq;
|
||||
DECLARE_RESTRICTED_HOOK(android_rvh_pick_next_entity,
|
||||
TP_PROTO(struct cfs_rq *cfs_rq, struct sched_entity *curr,
|
||||
struct sched_entity **se),
|
||||
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);
|
||||
|
||||
/* macro versions of hooks are no longer required */
|
||||
|
||||
#endif /* _TRACE_HOOK_SCHED_H */
|
||||
|
Reference in New Issue
Block a user