Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:gcov_info_is_compatible - check if profiling data can be added*@info1: first profiling data set*@info2: second profiling data set* Returns non-zero if profiling data can be added, zero otherwise.

Proto:int gcov_info_is_compatible(struct gcov_info *info1, struct gcov_info *info2)

Type:int

Parameter:

TypeParameterName
struct gcov_info *info1
struct gcov_info *info2
252  fn_ptr1 = list_first_entry_or_null - get the first element from a list*@ptr: the list head to take the element from.*@type: the type of the struct this is embedded in.*@member: the name of the list_head within the struct.( & functions, structgcov_fn_info, head)
254  fn_ptr2 = list_first_entry_or_null - get the first element from a list*@ptr: the list head to take the element from.*@type: the type of the struct this is embedded in.*@member: the name of the list_head within the struct.( & functions, structgcov_fn_info, head)
257  If checksum != checksum Then Return false
259  If Not fn_ptr1 Then Return fn_ptr1 == fn_ptr2
261  When Not list_is_last - tests whether @list is the last entry in list @head*@list: the entry to test*@head: the head of the list && Not list_is_last - tests whether @list is the last entry in list @head*@list: the entry to test*@head: the head of the list cycle
263  If checksum != checksum Then Return false
265  If use_extra_checksum != use_extra_checksum Then Return false
267  If use_extra_checksum && cfg_checksum != cfg_checksum Then Return false
270  fn_ptr1 = list_next_entry - get the next element in list*@pos: the type * to cursor*@member: the name of the list_head within the struct.(fn_ptr1, head)
271  fn_ptr2 = list_next_entry - get the next element in list*@pos: the type * to cursor*@member: the name of the list_head within the struct.(fn_ptr2, head)
273  Return list_is_last - tests whether @list is the last entry in list @head*@list: the entry to test*@head: the head of the list && list_is_last - tests whether @list is the last entry in list @head*@list: the entry to test*@head: the head of the list
Caller
NameDescribe
add_infoAssociate a profiling data set with an existing node. Needs to be called* with node_lock held.