Function report |
Source Code:kernel\events\hw_breakpoint.c |
Create Date:2022-07-28 13:43:31 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:Count the number of breakpoints of the same type and same task.* The given event must be not on the list.
Proto:static int task_bp_pinned(int cpu, struct perf_event *bp, enum bp_type_idx type)
Type:int
Parameter:
Type | Parameter | Name |
---|---|---|
int | cpu | |
struct perf_event * | bp | |
enum bp_type_idx | type |
109 | count = 0 |
112 | If target == tsk && find_slot_idx(bp_type) == type && ( cpu < 0 || cpu == cpu ) Then count += hw_breakpoint_weight(iter) |
118 | Return count |
Name | Describe |
---|---|
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 |
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 |