Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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 activityDownload SCCTChinese

Name:hungtask_pm_notify

Proto:static int hungtask_pm_notify(struct notifier_block *self, unsigned long action, void *hcpu)

Type:int

Parameter:

TypeParameterName
struct notifier_block *self
unsigned longaction
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