函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:llvm_gcda_emit_function

函数原型:void llvm_gcda_emit_function(unsigned int ident, const char *function_name, unsigned int func_checksum, u8 use_extra_checksum, unsigned int cfg_checksum)

返回类型:void

参数:

类型参数名称
unsigned intident
const char *function_name
unsigned intfunc_checksum
u8use_extra_checksum
unsigned intcfg_checksum
120  info等于分配内存并置零
122  如果非info则返回
125  初始化链表头
126  ident等于ident
127  checksum等于func_checksum
128  use_extra_checksum等于use_extra_checksum
129  cfg_checksum等于cfg_checksum
130  如果function_namefunction_name等于kstrdup(function_name, GFP_KERNEL)
133  添加链表项