ANDROID: vendor_hooks: Export the tracepoints sched_stat_runtime

to let module probe them

Record the time of the process in various states so that provide
different CPU resources according to the process running time

Bug: 205938967

Signed-off-by: Liujie Xie <xieliujie@oppo.com>
Change-Id: Ia3c47bbf0aadd17337ce18fd910343b1b8c3ef93
Signed-off-by: Carlos Llamas <cmllamas@google.com>
[maoshenshen: Most of the original cherry picked patch are no longer necessary, so reworked commit message to reflect change]
Signed-off-by: maoshenshen <maoshenshen@oppo.com>
This commit is contained in:
Liujie Xie
2021-11-11 22:15:49 +08:00
committed by maoshenshen
parent b0150bb650
commit 900a073e12
+2
View File
@@ -57,6 +57,8 @@
#include <trace/hooks/sched.h>
EXPORT_TRACEPOINT_SYMBOL_GPL(sched_stat_runtime);
/*
* Targeted preemption latency for CPU-bound tasks:
*