Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:print_held_locks_bug

Proto:static void print_held_locks_bug(void)

Type:void

Parameter:Nothing

5303  If Not Generic 'turn off all lock debugging' function: Then Return
5305  If The locking-testsuite uses to get a 'silent failure': nothing is printed to the console when a locking bug is detected Then Return
5308  pr_warn("\n")
5309  pr_warn("====================================\n")
5310  pr_warn("WARNING: %s/%d still has locks held!\n", comm, task_pid_nr(current process))
5312  print_kernel_ident()
5313  pr_warn("------------------------------------\n")
5314  lockdep_print_held_locks(current process)
5315  pr_warn("\nstack backtrace:\n")
5316  dump_stack()
Caller
NameDescribe
debug_check_no_locks_held