函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\sched\core.c Create Date:2022-07-27 10:36:40
Last Modify:2022-05-22 13:40:38 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:调试检查和统计

函数原型:static inline void schedule_debug(struct task_struct *prev, bool preempt)

返回类型:void

参数:

类型参数名称
struct task_struct *prev
boolpreempt
3896  如果此条件成立可能性小(为编译器优化)(Check whether we were atomic before we did preempt_disable():* (used by the scheduler)())则
3897  Print scheduling while atomic bug:
3898  设置抢占计数
3900  rcu_sleep_check()
3902  profile_hit(SCHED_PROFILING, __builtin_return_address(0))
3904  schedstat_inc(sched_count)
调用者
名称描述
__schedule调度器