Function report |
Source Code:kernel\events\hw_breakpoint.c |
Create Date:2022-07-28 13:43:40 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name: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)* +
Proto:static int __reserve_bp_slot(struct perf_event *bp, u64 bp_type)
Type:int
Parameter:
Type | Parameter | Name |
---|---|---|
struct perf_event * | bp | |
u64 | bp_type |
270 | struct bp_busy_slots slots = {0} |
275 | If Not constraints_initialized Then Return -ENOMEM |
279 | If bp_type == HW_BREAKPOINT_EMPTY || bp_type == HW_BREAKPOINT_INVALID Then Return -EINVAL |
283 | type = find_slot_idx(bp_type) |
284 | weight = hw_breakpoint_weight(bp) |
299 | Return 0 |
Name | Describe |
---|---|
reserve_bp_slot | |
__modify_bp_slot | |
dbg_reserve_bp_slot | Allow the kernel debugger to reserve breakpoint slots without* taking a lock using the dbg_* variant of for the reserve and* release breakpoint slots. |
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 |