函数逻辑报告 |
Source Code:arch\x86\kernel\hw_breakpoint.c |
Create Date:2022-07-27 08:45:31 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:Uninstall 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.
函数原型:void arch_uninstall_hw_breakpoint(struct perf_event *bp)
返回类型:void
参数:
类型 | 参数 | 名称 |
---|---|---|
struct perf_event * | bp |
136 | info等于counter_arch_bp(bp) |
149 | 如果WARN_ONCE(i == Total number of available HW breakpoint registers , "Can't find any breakpoint slot")则返回 |
153 | dr7与等于__encode_dr7(i, len, type)的反 |
155 | set_debugreg( * dr7, 7) |
156 | 如果mask则set_dr_addr_mask(0, i) |
名称 | 描述 |
---|---|
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. |
hw_breakpoint_del |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |