函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\events\hw_breakpoint.c Create Date:2022-07-27 15:04:25
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:get_bp_info

函数原型:static struct bp_cpuinfo *get_bp_info(int cpu, enum bp_type_idx type)

返回类型:struct bp_cpuinfo

参数:

类型参数名称
intcpu
enum bp_type_idxtype
54  返回:per_cpu_ptr(bp_cpuinfo + type, cpu)
调用者
名称描述
max_task_bp_pinnedReport the maximum number of pinned breakpoints a task* have in this cpu
fetch_bp_busy_slotsReport 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_slotAdd a pinned breakpoint for the given task in our constraint table
toggle_bp_slotAdd/remove the given breakpoint in our constraint table
init_hw_breakpoint