函数逻辑报告 |
Source Code:arch\x86\kernel\hw_breakpoint.c |
Create Date:2022-07-27 08:45:29 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:Encode the length, type, Exact, and Enable bits for a particular breakpoint* as stored in debug register 7.
函数原型:unsigned long encode_dr7(int drnum, unsigned int len, unsigned int type)
返回类型:unsigned long
参数:
类型 | 参数 | 名称 |
---|---|---|
int | drnum | |
unsigned int | len | |
unsigned int | type |
68 | 返回:__encode_dr7(drnum, len, type)按位或Global slow the pipeline |
名称 | 描述 |
---|---|
arch_install_hw_breakpoint | Install 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 |
aout_dump_debugregs | Dump the debug register contents to the user.* We can't dump our per cpu values because it* may contain cpu wide breakpoint, something that* doesn't belong to the current task.* TODO: include non-ptrace user breakpoints (perf) |
ptrace_get_dr7 | Walk through every ptrace breakpoints for this thread and* build the dr7 value on top of their attributes. |
kgdb_correct_hw_break | |
kgdb_remove_all_hw_break | |
kgdb_disable_hw_debug | kgdb_disable_hw_debug - Disable hardware debugging while we in kgdb.*@regs: Current &struct pt_regs.* This function will be called if the particular architecture must* disable hardware debugging while it is processing gdb packets or* handling exception. |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |