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:30
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:Report the maximum number of pinned breakpoints a task* have in this cpu

Proto:static unsigned int max_task_bp_pinned(int cpu, enum bp_type_idx type)

Type:unsigned int

Parameter:

TypeParameterName
intcpu
enum bp_type_idxtype
90  tsk_pinned = sk_pinned[n] is the number of tasks having n+1 breakpoints
93  When i >= 0 cycle
94  If tsk_pinned[i] > 0 Then Return i + 1
98  Return 0
Caller
NameDescribe
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).