函数逻辑报告 |
Source Code:kernel\panic.c |
Create Date:2022-07-27 09:59:20 |
| Last Modify:2022-05-22 10:57:01 | Copyright©Brick |
| 首页 | 函数Tree |
| 注解内核,赢得工具 | 下载SCCT | English |
函数名称:__warn
函数原型:void __warn(const char *file, int line, void *caller, unsigned taint, struct pt_regs *regs, struct warn_args *args)
返回类型:void
参数:
| 类型 | 参数 | 名称 |
|---|---|---|
| const char * | file | |
| int | line | |
| void * | caller | |
| unsigned | taint | |
| struct pt_regs * | regs | |
| struct warn_args * | args |
| 561 | disable_trace_on_warning() |
| 563 | 如果file则打印警告信息("WARNING: CPU: %d PID: %d at %s:%d %pS\n", These macros fold the SMP functionality into a single CPU system(), pid, file, line, caller) |
| 567 | 否则打印警告信息("WARNING: CPU: %d PID: %d at %pS\n", These macros fold the SMP functionality into a single CPU system(), pid, caller) |
| 574 | 如果panic_on_warn则 |
| 581 | panic_on_warn等于0 |
| 585 | print_modules() |
| 589 | 否则dump_stack() |
| 594 | print_oops_end_marker() |
| 名称 | 描述 |
|---|---|
| report_bug |
| 源代码转换工具 开放的插件接口 | X |
|---|---|
| 支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |