ANDROID: vendor_hooks: Add hook for trace_android_vh_copy_process
Add hook for trace_android_vh_copy_process, which gives the vendor a chance to monitor the total thread count of the system and the thread count under a particular process Bug: 325765508 Change-Id: Ibeb8aa571d44997ac10623321cd00d1686bde033 Signed-off-by: chenweitao <chenweitao@oppo.com>
This commit is contained in:
@@ -265,6 +265,11 @@ DECLARE_HOOK(android_vh_irqtime_account_process_tick,
|
||||
TP_PROTO(struct task_struct *p, struct rq *rq, int user_tick, int ticks),
|
||||
TP_ARGS(p, rq, user_tick, ticks));
|
||||
|
||||
DECLARE_HOOK(android_vh_copy_process,
|
||||
TP_PROTO(struct task_struct *p, int nr_threads),
|
||||
TP_ARGS(p, nr_threads));
|
||||
|
||||
|
||||
enum uclamp_id;
|
||||
struct uclamp_se;
|
||||
DECLARE_RESTRICTED_HOOK(android_rvh_uclamp_eff_get,
|
||||
|
||||
Reference in New Issue
Block a user