Function report |
Source Code:kernel\events\hw_breakpoint.c |
Create Date:2022-07-28 13:43:37 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:Add/remove the given breakpoint in our constraint table
Proto:static void toggle_bp_slot(struct perf_event *bp, bool enable, enum bp_type_idx type, int weight)
Type:void
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct perf_event * | bp | |
| bool | enable | |
| enum bp_type_idx | type | |
| int | weight |
| 194 | cpumask = cpumask_of_bp(bp) |
| 201 | If Not target Then |
| 203 | Return |
| 207 | for_each_cpu(cpu, cpumask) |
| 212 | Else deletes entry from list |
| Name | Describe |
|---|---|
| __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 |
| 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 |