ANDROID: vendor_hooks: Export the tracepoints sched_stat_blocked, sched_stat_wait to let modules probe them
Get task info about scheduling delay and block time. It is used to get thread scheduling info when thread happened abnormal situation. Bug: 189415303 Signed-off-by: shenshen mao <maoshenshen@oppo.com> Change-Id: Ib6b548f8a78de5b26d555e9a89e3cc79ea2d1024 Signed-off-by: xieliujie <xieliujie@oppo.com> (cherry picked from commit 942d510b9eb465db9cd791d49119538ff2a27287)
This commit is contained in:
@@ -126,6 +126,8 @@ EXPORT_TRACEPOINT_SYMBOL_GPL(sched_waking);
|
||||
EXPORT_TRACEPOINT_SYMBOL_GPL(sched_wakeup);
|
||||
#if defined(CONFIG_SCHEDSTATS)
|
||||
EXPORT_TRACEPOINT_SYMBOL_GPL(sched_stat_sleep);
|
||||
EXPORT_TRACEPOINT_SYMBOL_GPL(sched_stat_wait);
|
||||
EXPORT_TRACEPOINT_SYMBOL_GPL(sched_stat_blocked);
|
||||
#endif
|
||||
|
||||
DEFINE_PER_CPU_SHARED_ALIGNED(struct rq, runqueues);
|
||||
|
||||
Reference in New Issue
Block a user