Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\locking\lockdep.c Create Date:2022-07-28 09:50:43
Last Modify:2020-03-17 14:16:01 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:Careful: only use this function if you are sure that* the task cannot run in parallel!

Proto:void debug_show_held_locks(struct task_struct *task)

Type:void

Parameter:

TypeParameterName
struct task_struct *task
5359  If Value for the false possibility is greater at compile time(!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) Then
5360  printk("INFO: lockdep is turned off.\n")
5361  Return
5363  lockdep_print_held_locks(task)
Caller
NameDescribe
__schedule_bugPrint scheduling while atomic bug:
debug_rt_mutex_print_deadlock