函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\locking\lockdep.c Create Date:2022-07-27 10:51:00
Last Modify:2020-03-17 14:16:01 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:Careful: only use this function if you are sure that* the task cannot run in parallel!

函数原型:void debug_show_held_locks(struct task_struct *task)

返回类型:void

参数:

类型参数名称
struct task_struct *task
5359  如果此条件成立可能性小(为编译器优化)(!We want to turn all lock-debugging facilities on/off at once,* via a global flag. The reason is that once a single bug has been* detected and reported, there might be cascade of followup bugs* that would just muddy the log. So we report the first one and)则
5360  printk("INFO: lockdep is turned off.\n")
5361  返回
5363  lockdep_print_held_locks(task)
调用者
名称描述
__schedule_bugPrint scheduling while atomic bug:
debug_rt_mutex_print_deadlock