函数逻辑报告 |
Source Code:kernel\events\hw_breakpoint.c |
Create Date:2022-07-27 15:04:36 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:Add a pinned breakpoint for the given task in our constraint table
函数原型:static void toggle_bp_task_slot(struct perf_event *bp, int cpu, enum bp_type_idx type, int weight)
返回类型:void
参数:
类型 | 参数 | 名称 |
---|---|---|
struct perf_event * | bp | |
int | cpu | |
enum bp_type_idx | type | |
int | weight |
178 | old_idx等于Count the number of breakpoints of the same type and same task.* The given event must be not on the list.减1 |
181 | 如果old_idx大于等于0则tsk_pinned[old_idx]自减 |
183 | 如果new_idx大于等于0则tsk_pinned[new_idx]自加 |
名称 | 描述 |
---|---|
toggle_bp_slot | Add/remove the given breakpoint in our constraint table |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |