函数逻辑报告 |
Source Code:kernel\events\hw_breakpoint.c |
Create Date:2022-07-27 15:04:30 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:Count the number of breakpoints of the same type and same task.* The given event must be not on the list.
函数原型:static int task_bp_pinned(int cpu, struct perf_event *bp, enum bp_type_idx type)
返回类型:int
参数:
类型 | 参数 | 名称 |
---|---|---|
int | cpu | |
struct perf_event * | bp | |
enum bp_type_idx | type |
109 | count等于0 |
112 | 如果target恒等于tsk且find_slot_idx(bp_type)恒等于type且cpu小于0或cpu恒等于cpu的值则count加等于hw_breakpoint_weight(iter) |
118 | 返回:count |
名称 | 描述 |
---|---|
fetch_bp_busy_slots | Report the number of pinned/un-pinned breakpoints we have in* a given cpu (cpu > -1) or in all of them (cpu = -1). |
toggle_bp_task_slot | Add a pinned breakpoint for the given task in our constraint table |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |