Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\trace\fgraph.c Create Date:2022-07-28 12:17:41
Last Modify:2020-03-17 20:08:56 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:Hibernation protection.* The state of the current task is too much unstable during* suspend/restore to disk. We want to protect against that.

Proto:static int ftrace_suspend_notifier_call(struct notifier_block *bl, unsigned long state, void *unused)

Type:int

Parameter:

TypeParameterName
struct notifier_block *bl
unsigned longstate
void *unused
213  Case state == Going to hibernate
214  pause_graph_tracing()
215  Break
217  Case state == Hibernation finished
218  unpause_graph_tracing()
219  Break
221  Return Don't care