Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\events\hw_breakpoint.c Create Date:2022-07-28 13:43:27
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:get_bp_info

Proto:static struct bp_cpuinfo *get_bp_info(int cpu, enum bp_type_idx type)

Type:struct bp_cpuinfo

Parameter:

TypeParameterName
intcpu
enum bp_type_idxtype
54  Return per_cpu_ptr(bp_cpuinfo + type, cpu)
Caller
NameDescribe
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