ANDROID: sched: Add vendor hooks for sync_entity_load_avg
Add vendor hooks to monitor more update load-avg point where tasks on the run-queue will go through. Bug: 204857484 Signed-off-by: JianMin Liu <jian-min.liu@mediatek.com> Change-Id: I440d7b9686a37508bd7568454472ab014ba0d0c9
This commit is contained in:

committed by
Quentin Perret

parent
2cfefe22b9
commit
8c2c4d12bb
@@ -3871,7 +3871,9 @@ static void sync_entity_load_avg(struct sched_entity *se)
|
|||||||
u64 last_update_time;
|
u64 last_update_time;
|
||||||
|
|
||||||
last_update_time = cfs_rq_last_update_time(cfs_rq);
|
last_update_time = cfs_rq_last_update_time(cfs_rq);
|
||||||
|
trace_android_vh_prepare_update_load_avg_se(se, 0);
|
||||||
__update_load_avg_blocked_se(last_update_time, se);
|
__update_load_avg_blocked_se(last_update_time, se);
|
||||||
|
trace_android_vh_finish_update_load_avg_se(se, 0);
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
Reference in New Issue
Block a user