函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:gcov_info_free - release memory for profiling data set duplicate*@info: profiling data set duplicate to free

函数原型:void gcov_info_free(struct gcov_info *info)

返回类型:void

参数:

类型参数名称
struct gcov_info *info
343  如果非functions则转到:free_info
346  active等于Determine number of active counters. Based on gcc magic.
348 fi_idx小于n_functions循环
349  如果非functions[fi_idx]则继续下一循环
352  ci_ptr等于ctrs
354 ct_idx小于active循环vfree(values)
357  kfree(functions[fi_idx])
360  free_info :
361  kfree(functions)
362  kfree(filename)
363  kfree(info)
调用者
名称描述
gcov_info_dupgcov_info_dup - duplicate profiling data set*@info: profiling data set to duplicate* Return newly allocated duplicate on success, %NULL on error.