函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称: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.

函数原型:int gcov_info_is_compatible(struct gcov_info *info1, struct gcov_info *info2)

返回类型:int

参数:

类型参数名称
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  如果checksum不等于checksum则返回:false
259  如果非fn_ptr1则返回:fn_ptr1恒等于fn_ptr2
261  当非检查是否为链表尾且非检查是否为链表尾循环
263  如果checksum不等于checksum则返回:false
265  如果use_extra_checksum不等于use_extra_checksum则返回:false
267  如果use_extra_checksumcfg_checksum不等于cfg_checksum则返回: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  返回:检查是否为链表尾检查是否为链表尾
调用者
名称描述
add_infoAssociate a profiling data set with an existing node. Needs to be called* with node_lock held.