函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\signal.c Create Date:2022-07-27 10:16:37
Last Modify:2020-03-17 13:28:47 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:ptrace_notify

函数原型:void ptrace_notify(int exit_code)

返回类型:void

参数:

类型参数名称
intexit_code
2268  BUG_ON((exit_code & (0x7f | ~0xffff)) != SIGTRAP)
2269  如果此条件成立可能性小(为编译器优化)(task_works)则task_work_run()
2272  spin_lock_irq( & siglock)
2273  ptrace_do_notify(SIGTRAP, exit_code, raced child has trapped )
2274  spin_unlock_irq( & siglock)
调用者
名称描述
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.