函数逻辑报告 |
Source Code:kernel\locking\lockdep.c |
Create Date:2022-07-27 10:50:09 |
Last Modify:2020-03-17 14:16:01 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:print_lock_nested_lock_not_held
函数原型:static void print_lock_nested_lock_not_held(struct task_struct *curr, struct held_lock *hlock, unsigned long ip)
返回类型:void
参数:
类型 | 参数 | 名称 |
---|---|---|
struct task_struct * | curr | |
struct held_lock * | hlock | |
unsigned long | ip |
3779 | 打印警告信息("\n") |
3780 | 打印警告信息("==================================\n") |
3781 | 打印警告信息("WARNING: Nested lock was not taken\n") |
3782 | print_kernel_ident() |
3783 | 打印警告信息("----------------------------------\n") |
3785 | 打印警告信息("%s/%d is trying to lock:\n", 是否使用FPU, task_pid_nr(curr)) |
3786 | print_lock(hlock) |
3788 | 打印警告信息("\nbut this task is not holding:\n") |
3791 | 打印警告信息("\nstack backtrace:\n") |
3792 | dump_stack() |
3794 | 打印警告信息("\nother info that might help us debug this:\n") |
3795 | lockdep_print_held_locks(curr) |
3797 | 打印警告信息("\nstack backtrace:\n") |
3798 | dump_stack() |
名称 | 描述 |
---|---|
__lock_acquire | This gets called for every mutex_lock*()/spin_lock*() operation |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |