Function report |
Source Code:kernel\events\hw_breakpoint.c |
Create Date:2022-07-28 13:43:35 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:Add a pinned breakpoint for the given task in our constraint table
Proto:static void toggle_bp_task_slot(struct perf_event *bp, int cpu, enum bp_type_idx type, int weight)
Type:void
Parameter:
| Type | Parameter | Name |
|---|---|---|
| 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 | If old_idx >= 0 Then tsk_pinned[old_idx]-- |
| 183 | If new_idx >= 0 Then tsk_pinned[new_idx]++ |
| Name | Describe |
|---|---|
| toggle_bp_slot | Add/remove the given breakpoint in our constraint table |
| Source code conversion tool public plug-in interface | X |
|---|---|
| Support c/c++/esqlc/java Oracle/Informix/Mysql Plug-in can realize: logical Report Code generation and batch code conversion |