Function report | 
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 activity | Download SCCT | Chinese | 
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 | 
| 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") | 
| 5315 | pr_warn("\nstack backtrace:\n") | 
| 5316 | dump_stack() | 
| Name | Describe | 
|---|---|
| debug_check_no_locks_held | 
| Source code conversion tool public plug-in interface  | X | 
|---|---|
| Support c/c++/esqlc/java Oracle/Informix/Mysql Plug-in can realize: logical Report Code generation and batch code conversion  |