Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\kcov.c Create Date:2022-07-28 11:33:38
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:Must be called with kcov_remote_lock locked.

Proto:static struct kcov_remote_area *kcov_remote_area_get(unsigned int size)

Type:struct kcov_remote_area

Parameter:

TypeParameterName
unsigned intsize
122  kcov_debug("size = %u\n", size)
124  area = list_entry - get the struct for this entry*@ptr: the &struct list_head pointer.*@type: the type of the struct this is embedded in.*@member: the name of the list_head within the struct.(pos, structkcov_remote_area, list)
125  If size == size Then
126  deletes entry from list
127  kcov_debug("rv = %px\n", area)
128  Return area
131  kcov_debug("rv = NULL\n")
132  Return NULL
Caller
NameDescribe
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