函数逻辑报告 |
Source Code:kernel\locking\lockdep.c |
Create Date:2022-07-27 10:49:52 |
| Last Modify:2020-03-17 14:16:01 | Copyright©Brick |
| 首页 | 函数Tree |
| 注解内核,赢得工具 | 下载SCCT | English |
函数名称:lockdep_print_held_locks
函数原型:static void lockdep_print_held_locks(struct task_struct *p)
返回类型:void
参数:
| 类型 | 参数 | 名称 |
|---|---|---|
| struct task_struct * | p |
| 697 | depth等于READ_ONCE(lockdep_depth) |
| 699 | 如果非depth则printk("no locks held by %s/%d.\n", 是否使用FPU, task_pid_nr(p)) |
| 712 | print_lock(held_locks + i) |
| 名称 | 描述 |
|---|---|
| print_lock_nested_lock_not_held | |
| __lock_acquire | This gets called for every mutex_lock*()/spin_lock*() operation |
| print_unlock_imbalance_bug | |
| print_freed_lock_bug | |
| print_held_locks_bug | |
| debug_show_all_locks | |
| debug_show_held_locks | Careful: only use this function if you are sure that* the task cannot run in parallel! |
| lockdep_sys_exit | |
| lockdep_rcu_suspicious |
| 源代码转换工具 开放的插件接口 | X |
|---|---|
| 支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |