Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:arch\x86\kernel\ptrace.c Create Date:2022-07-28 07:51:42
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

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

Proto:static unsigned long ptrace_get_dr7(struct perf_event *bp[])

Type:unsigned long

Parameter:

TypeParameterName
struct perf_event *bp
515  dr7 = 0
518  When i < Total number of available HW breakpoint registers cycle
519  If bp[i] && Not disabled Then
520  info = counter_arch_bp(bp[i])
525  Return dr7
Caller
NameDescribe
ptrace_write_dr7Handle ptrace writes to debug register 7.