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:31
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:Determine number of active counters. Based on gcc magic.

Proto:static unsigned int num_counter_active(struct gcov_info *info)

Type:unsigned int

Parameter:

TypeParameterName
struct gcov_info *info
183  result = 0
185  When i < GCOV_COUNTERS cycle
186  If Determine whether a counter is active. Doesn't change at run-time. Then result++
189  Return result
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.
gcov_info_freegcov_info_free - release memory for profiling data set duplicate*@info: profiling data set duplicate to free