Function report |
Source Code:kernel\hung_task.c |
Create Date:2022-07-28 11:45:10 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:hungtask_pm_notify
Proto:static int hungtask_pm_notify(struct notifier_block *self, unsigned long action, void *hcpu)
Type:int
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct notifier_block * | self | |
| unsigned long | action | |
| void * | hcpu |
| 252 | Case action == Going to suspend the system |
| 253 | Case action == Going to hibernate |
| 254 | Case action == Going to restore a saved image |
| 255 | hung_detector_suspended = true |
| 256 | Break |
| 257 | Case action == Suspend finished |
| 258 | Case action == Hibernation finished |
| 259 | Case action == Restore failed |
| 260 | hung_detector_suspended = false |
| 261 | Break |
| 262 | Default |
| 263 | Break |
| 265 | Return Suits me |
| 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 |