| Function report | 
| Source Code: kernel\panic.c | Create Date:2022-07-28 08:59:45 | 
| Last Modify:2022-05-22 10:57:01 | Copyright©Brick | 
| home page | Tree | 
| Annotation kernel can get tool activity | Download SCCT | Chinese | 
Name:It just happens that oops_enter() and oops_exit() are identically* implemented...
Proto:static void do_oops_enter_exit(void)
Type:void
Parameter:Nothing
| 459 | If Not pause_on_oops Then Return | 
| 462 | spin_lock_irqsave( & pause_on_oops_lock, flags) | 
| 463 | If pause_on_oops_flag == 0 Then | 
| 465 | pause_on_oops_flag = 1 | 
| 466 | Else | 
| 468 | If Not spin_counter Then | 
| 470 | spin_counter = pause_on_oops | 
| 471 | Do | 
| 472 | spin_unlock( & pause_on_oops_lock) | 
| 474 | spin_lock( & pause_on_oops_lock) | 
| 475 | When --spin_counter cycle | 
| 476 | pause_on_oops_flag = 0 | 
| 477 | Else | 
| 479 | When spin_counter cycle | 
| Name | Describe | 
|---|---|
| oops_enter | Called when the architecture enters its oops handler, before it prints* anything. If this is the first CPU to oops, and it's oopsing the first* time then let it proceed.* This is all enabled by the pause_on_oops kernel boot option. We do all | 
| oops_exit | Called when the architecture exits its oops handler, after printing* everything. | 
| Source code conversion tool public plug-in interface | X | 
|---|---|
| Support c/c++/esqlc/java Oracle/Informix/Mysql Plug-in can realize: logical Report Code generation and batch code conversion |