函数逻辑报告 |
Source Code:arch\x86\kernel\dumpstack.c |
Create Date:2022-07-27 08:34:11 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| 首页 | 函数Tree |
| 注解内核,赢得工具 | 下载SCCT | English |
函数名称:oops_end
函数原型:void oops_end(unsigned long flags, struct pt_regs *regs, int signr)
返回类型:void
参数:
| 类型 | 参数 | 名称 |
|---|---|---|
| unsigned long | flags | |
| struct pt_regs * | regs | |
| int | signr |
| 333 | 如果regs且kexec_should_crash(当前进程)则crash_kexec(regs) |
| 336 | bust_spinlocks(0) |
| 337 | die_owner等于负1 |
| 339 | die_nest_count自减 |
| 340 | 如果非die_nest_count则arch_spin_unlock( & die_lock) |
| 344 | oops_exit() |
| 347 | __show_regs( & exec_summary_regs, SHOW_REGS_ALL) |
| 349 | 如果非signr则返回 |
| 351 | 如果in_interrupt()则panic - halt the system*@fmt: The text string to print* Display a message, then perform cleanups.* This function never returns. |
| 353 | 如果panic_on_oops则panic - halt the system*@fmt: The text string to print* Display a message, then perform cleanups.* This function never returns. |
| 名称 | 描述 |
|---|---|
| die | 终止程序 |
| 源代码转换工具 开放的插件接口 | X |
|---|---|
| 支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |