| 函数逻辑报告 | 
| Source Code: kernel\events\hw_breakpoint.c | Create Date:2022-07-27 15:04:38 | 
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick | 
| 首页 | 函数Tree | 
| 注解内核,赢得工具 | 下载SCCT | English | 
函数名称:Add/remove the given breakpoint in our constraint table
函数原型:static void toggle_bp_slot(struct perf_event *bp, bool enable, enum bp_type_idx type, int weight)
返回类型:void
参数:
| 类型 | 参数 | 名称 | 
|---|---|---|
| struct perf_event * | bp | |
| bool | enable | |
| enum bp_type_idx | type | |
| int | weight | 
| 194 | cpumask等于cpumask_of_bp(bp) | 
| 201 | 如果非target则 | 
| 203 | 返回 | 
| 212 | 否则删除链表项 | 
| 名称 | 描述 | 
|---|---|
| __reserve_bp_slot | Constraints to check before allowing this new breakpoint counter:* == Non-pinned counter == (Considered as pinned for now)* - If attached to a single cpu, check:* (per_cpu(info->flexible, cpu) || (per_cpu(info->cpu_pinned, cpu)* + | 
| __release_bp_slot | 
| 源代码转换工具 开放的插件接口 | X | 
|---|---|
| 支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |