函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\trace\fgraph.c Create Date:2022-07-27 13:24:34
Last Modify:2020-03-17 20:08:56 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

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

函数原型:static int ftrace_suspend_notifier_call(struct notifier_block *bl, unsigned long state, void *unused)

返回类型:int

参数:

类型参数名称
struct notifier_block *bl
unsigned longstate
void *unused
213  :state恒等于Going to hibernate
214  pause_graph_tracing()
215  退出
217  :state恒等于Hibernation finished
218  unpause_graph_tracing()
219  退出
221  返回:Don't care