mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-05 18:41:58 +09:00
ANDROID: vendor_hooks: Export the tracepoints sched_stat_iowait, sched_stat_blocked, sched_stat_wait to let modules probe them
Get task info about scheduling delay, iowait, and block time. It is used to get thread scheduling info when thread happened abnormal situation. Bug: 189415303 Change-Id: Ib6b548f8a78de5b26d555e9a89e3cc79ea2d1024 Signed-off-by: Liujie Xie <xieliujie@oppo.com> (cherry picked from commita6bb1af39d) (cherry picked from commit 6d8d2ab52facfd6d5de2715e2470872e6a70cf22) (cherry picked from commitc3c2917768)
This commit is contained in:
committed by
Treehugger Robot
parent
102b4685b3
commit
527ffd22ad
@@ -115,6 +115,11 @@ EXPORT_TRACEPOINT_SYMBOL_GPL(sched_util_est_cfs_tp);
|
||||
EXPORT_TRACEPOINT_SYMBOL_GPL(sched_util_est_se_tp);
|
||||
EXPORT_TRACEPOINT_SYMBOL_GPL(sched_update_nr_running_tp);
|
||||
EXPORT_TRACEPOINT_SYMBOL_GPL(sched_switch);
|
||||
#ifdef CONFIG_SCHEDSTATS
|
||||
EXPORT_TRACEPOINT_SYMBOL_GPL(sched_stat_wait);
|
||||
EXPORT_TRACEPOINT_SYMBOL_GPL(sched_stat_iowait);
|
||||
EXPORT_TRACEPOINT_SYMBOL_GPL(sched_stat_blocked);
|
||||
#endif
|
||||
|
||||
DEFINE_PER_CPU_SHARED_ALIGNED(struct rq, runqueues);
|
||||
EXPORT_SYMBOL_GPL(runqueues);
|
||||
|
||||
Reference in New Issue
Block a user