函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:include\linux\ptrace.h Create Date:2022-07-27 06:49:36
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:判断启用了跟踪

函数原型:static inline bool ptrace_event_enabled(struct task_struct *task, int event)

返回类型:bool

参数:

类型参数名称
struct task_struct *task
intevent
142  返回:ptrace按位与PT_TRACE_* event enable flags (event)
调用者
名称描述
_do_fork分裂进程
ptrace_eventptrace_event - possibly stop for a ptrace event notification*@event: %PTRACE_EVENT_* value to report*@message: value for %PTRACE_GETEVENTMSG to return* Check whether @event is enabled and, if so, report @event and @message* to the ptrace parent.