ANDROID: sched: add vendor hook to PELT multiplier

We add vendor hook at sched_pelt_multiplier for
performance tuning.

Bug: 240896506

Change-Id: I10e3436a986dd5dd7d375460922407666f27739d
Signed-off-by: Jing-Ting Wu <Jing-Ting.Wu@mediatek.com>
Signed-off-by: JianMin Liu <jian-min.liu@mediatek.com>
This commit is contained in:
Jing-Ting Wu
2022-07-26 21:04:35 +08:00
committed by Todd Kjos
parent 573c7f061d
commit 9e8dedef1e
3 changed files with 10 additions and 0 deletions

View File

@@ -398,6 +398,10 @@ DECLARE_HOOK(android_vh_pidfd_open,
DECLARE_HOOK(android_vh_mmput,
TP_PROTO(void *unused),
TP_ARGS(unused));
DECLARE_HOOK(android_vh_sched_pelt_multiplier,
TP_PROTO(unsigned int old, unsigned int cur, int *ret),
TP_ARGS(old, cur, ret));
/* macro versions of hooks are no longer required */
#endif /* _TRACE_HOOK_SCHED_H */