函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:Report the maximum number of pinned breakpoints a task* have in this cpu

函数原型:static unsigned int max_task_bp_pinned(int cpu, enum bp_type_idx type)

返回类型:unsigned int

参数:

类型参数名称
intcpu
enum bp_type_idxtype
90  tsk_pinned等于sk_pinned[n] is the number of tasks having n+1 breakpoints
93 i大于等于0循环
94  如果tsk_pinned[i]大于0则返回:i加1
98  返回:0
调用者
名称描述
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).