函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:arch\x86\include\asm\debugreg.h Create Date:2022-07-27 06:54:56
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:set_dr_addr_mask

函数原型:static inline void set_dr_addr_mask(unsigned long mask, int dr)

返回类型:void

参数:

类型参数名称
unsigned longmask
intdr

NULL

调用者
名称描述
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
arch_uninstall_hw_breakpointUninstall the breakpoint contained in the given counter.* First we search the debug address register it uses and then we disable* it.* Atomic: we hold the counter->ctx->lock and we only handle variables* and registers local to this cpu.