函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:kcov_check_handle

函数原型:static inline bool kcov_check_handle(u64 handle, bool common_valid, bool uncommon_valid, bool zero_valid)

返回类型:bool

参数:

类型参数名称
u64handle
boolcommon_valid
booluncommon_valid
boolzero_valid
531  如果handle按位与KCOV_SUBSYSTEM_MASK按位或KCOV_INSTANCE_MASK的值的反则返回:false
534  : & == KCOV_SUBSYSTEM_COMMON
535  返回:如果handle按位与KCOV_INSTANCE_MASKcommon_valid否则zero_valid
537  : & == KCOV_SUBSYSTEM_USB
538  返回:uncommon_valid
539  默认
540  返回:false
542  返回:false
调用者
名称描述
kcov_ioctl_locked
kcov_remote_startkcov_remote_start() and kcov_remote_stop() can be used to annotate a section* of code in a kernel background thread to allow kcov to be used to collect* coverage from that part of code