Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:include\linux\ftrace.h Create Date:2022-07-28 05:49:26
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:Ftrace disable/restore without lock. Some synchronization mechanism* must be used to prevent ftrace_enabled to be changed between* disable/restore.

Proto:static inline int __ftrace_enabled_save(void)

Type:int

Parameter:Nothing

755  saved_ftrace_enabled = ftrace_enabled
756  ftrace_enabled = 0
757  Return saved_ftrace_enabled
Caller
NameDescribe
machine_kexecDo not allocate memory (or fail in any way) in machine_kexec().* We are past the point of no return, committed to rebooting now.