ANDROID: sched: Add trace_android_rvh_setscheduler

Sync to android13-5.10. This vendor hook is declared already.

Bug: 245675204
Change-Id: Ib081b52542380d22317f225a50b553cda5f2634c
Signed-off-by: Rick Yiu <rickyiu@google.com>
(cherry picked from commit f9688670ca92bf9f46f9a6134bc69623c30bbb23)
This commit is contained in:
Rick Yiu 2023-05-05 14:31:36 +00:00
parent efa8f34b5a
commit f44d373b32

View File

@ -7837,6 +7837,7 @@ static int __sched_setscheduler(struct task_struct *p,
if (!(attr->sched_flags & SCHED_FLAG_KEEP_PARAMS)) { if (!(attr->sched_flags & SCHED_FLAG_KEEP_PARAMS)) {
__setscheduler_params(p, attr); __setscheduler_params(p, attr);
__setscheduler_prio(p, newprio); __setscheduler_prio(p, newprio);
trace_android_rvh_setscheduler(p);
} }
__setscheduler_uclamp(p, attr); __setscheduler_uclamp(p, attr);