函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:arch\x86\kernel\ptrace.c Create Date:2022-07-27 08:51:52
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:ptrace_triggered

函数原型:static void ptrace_triggered(struct perf_event *bp, struct perf_sample_data *data, struct pt_regs *regs)

返回类型:void

参数:

类型参数名称
struct perf_event *bp
struct perf_sample_data *data
struct pt_regs *regs
493  thread等于thread的地址
499 i小于Total number of available HW breakpoint registers 循环
500  如果 Save middle states of ptrace breakpoints [i]恒等于bp退出
504  Debug status used for traps, single steps, etc... 或等于db0 左移i