Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:gcov_info_free - release memory for profiling data set duplicate*@info: profiling data set duplicate to free

Proto:void gcov_info_free(struct gcov_info *info)

Type:void

Parameter:

TypeParameterName
struct gcov_info *info
343  If Not functions Then Go to free_info
346  active = Determine number of active counters. Based on gcc magic.
348  When fi_idx < n_functions cycle
349  If Not functions[fi_idx] Then Continue
352  ci_ptr = ctrs
354  When ct_idx < active cycle vfree(values)
357  kfree(functions[fi_idx])
360  free_info :
361  kfree(functions)
362  kfree(filename)
363  kfree(info)
Caller
NameDescribe
gcov_info_dupgcov_info_dup - duplicate profiling data set*@info: profiling data set to duplicate* Return newly allocated duplicate on success, %NULL on error.