Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:arch\x86\include\asm\debugreg.h Create Date:2022-07-28 05:55:48
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:set_dr_addr_mask

Proto:static inline void set_dr_addr_mask(unsigned long mask, int dr)

Type:void

Parameter:

TypeParameterName
unsigned longmask
intdr

NULL

Caller
NameDescribe
arch_install_hw_breakpointInstall a perf counter breakpoint.* We seek a free debug address register and use it for this* breakpoint. Eventually we enable it in the debug control register.* Atomic: we hold the counter->ctx->lock and we only handle variables