函数逻辑报告 | 
Source Code:arch\x86\kernel\hw_breakpoint.c | 
Create Date:2022-07-27 08:45:35 | 
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick | 
| 首页 | 函数Tree | 
| 注解内核,赢得工具 | 下载SCCT | English | 
函数名称:arch_build_bp_info
函数原型:static int arch_build_bp_info(struct perf_event *bp, const struct perf_event_attr *attr, struct arch_hw_breakpoint *hw)
返回类型:int
参数:
| 类型 | 参数 | 名称 | 
|---|---|---|
| struct perf_event * | bp | |
| const struct perf_event_attr * | attr | |
| struct arch_hw_breakpoint * | hw | 
| 235 | mask等于0 | 
| 239 | 当:bp_type恒等于HW_BREAKPOINT_W | 
| 241 | 退出 | 
| 242 | 当:bp_type恒等于HW_BREAKPOINT_W按位或HW_BREAKPOINT_R | 
| 244 | 退出 | 
| 245 | 当:bp_type恒等于HW_BREAKPOINT_X | 
| 267 | 默认 | 
| 268 | 返回:负EINVAL | 
| 273 | 当:bp_len恒等于HW_BREAKPOINT_LEN_1 | 
| 274 | len等于X86_BREAKPOINT_LEN_1 | 
| 275 | 退出 | 
| 276 | 当:bp_len恒等于HW_BREAKPOINT_LEN_2 | 
| 277 | len等于X86_BREAKPOINT_LEN_2 | 
| 278 | 退出 | 
| 279 | 当:bp_len恒等于HW_BREAKPOINT_LEN_4 | 
| 280 | len等于X86_BREAKPOINT_LEN_4 | 
| 281 | 退出 | 
| 283 | 当:bp_len恒等于HW_BREAKPOINT_LEN_8 | 
| 284 | len等于X86_BREAKPOINT_LEN_8 | 
| 285 | 退出 | 
| 287 | 默认 | 
| 294 | 如果非boot_cpu_has(Data breakpoint extension )则返回:负EOPNOTSUPP | 
| 305 | len等于X86_BREAKPOINT_LEN_1 | 
| 308 | 返回:0 | 
| 名称 | 描述 | 
|---|---|
| hw_breakpoint_arch_parse | Validate the arch-specific HW Breakpoint register settings | 
| 源代码转换工具 开放的插件接口  | X | 
|---|---|
| 支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码  |