ANDROID: vendor_hooks: Add hooks to dup_task_struct
Add hook to dup_task_struct for vendor data fields initialisation. Bug: 188004638 Change-Id: I4b58604ee822fb8d1e0cc37bec72e820e7318427 Signed-off-by: Liangliang Li <liliangliang@vivo.com>
This commit is contained in:
@@ -358,6 +358,10 @@ DECLARE_HOOK(android_vh_finish_update_load_avg_se,
|
||||
TP_PROTO(struct sched_entity *se, int flags),
|
||||
TP_ARGS(se, flags));
|
||||
|
||||
DECLARE_HOOK(android_vh_dup_task_struct,
|
||||
TP_PROTO(struct task_struct *tsk, struct task_struct *orig),
|
||||
TP_ARGS(tsk, orig));
|
||||
|
||||
/* macro versions of hooks are no longer required */
|
||||
|
||||
#endif /* _TRACE_HOOK_SCHED_H */
|
||||
|
Reference in New Issue
Block a user