函数逻辑报告

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

函数名称:Walk through every ptrace breakpoints for this thread and* build the dr7 value on top of their attributes.

函数原型:static unsigned long ptrace_get_dr7(struct perf_event *bp[])

返回类型:unsigned long

参数:

类型参数名称
struct perf_event *bp
515  dr7等于0
518 i小于Total number of available HW breakpoint registers 循环
519  如果bp[i]且非disabled
520  info等于counter_arch_bp(bp[i])
525  返回:dr7
调用者
名称描述
ptrace_write_dr7Handle ptrace writes to debug register 7.