函数逻辑报告 |
Source Code:kernel\locking\lockdep.c |
Create Date:2022-07-27 10:51:01 |
Last Modify:2020-03-17 14:16:01 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:lockdep_rcu_suspicious
函数原型:void lockdep_rcu_suspicious(const char *file, const int line, const char *s)
返回类型:void
参数:
类型 | 参数 | 名称 |
---|---|---|
const char * | file | |
const int | line | |
const char * | s |
5396 | 打印警告信息("\n") |
5397 | 打印警告信息("=============================\n") |
5398 | 打印警告信息("WARNING: suspicious RCU usage\n") |
5399 | print_kernel_ident() |
5400 | 打印警告信息("-----------------------------\n") |
5402 | 打印警告信息("\nother info that might help us debug this:\n\n") |
5403 | 打印警告信息("\n%srcu_scheduler_active = %d, debug_locks = %d\n", !rcu_lockdep_current_cpu_online() ? "RCU used illegally from offline CPU!\n" : !_is_watching - see if RCU thinks that the current CPU is not idle* Return true if RCU is watching the running CPU, which means that this* CPU can safely enter RCU read-side critical sections ? "RCU used illegally from idle CPU!\n" : "", rcu_scheduler_active, 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) |
5429 | 如果非_is_watching - see if RCU thinks that the current CPU is not idle* Return true if RCU is watching the running CPU, which means that this* CPU can safely enter RCU read-side critical sections则打印警告信息("RCU used illegally from extended quiescent state!\n") |
5432 | lockdep_print_held_locks(curr) |
5433 | 打印警告信息("\nstack backtrace:\n") |
5434 | dump_stack() |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |