Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\gcov\gcc_3_4.c Create Date:2022-07-28 11:32:06
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
171  result = 0
173  When i < GCOV_COUNTERS cycle
174  If Determine whether a counter is active. Based on gcc magic. Doesn't change* at run-time. Then result++
177  Return result
Caller
NameDescribe
gcov_info_resetgcov_info_reset - reset profiling data to zero*@info: profiling data set
gcov_info_addgcov_info_add - add up profiling data*@dest: profiling data set to which data is added*@source: profiling data set which is added* Adds profiling counts of @source to @dest.
get_fn_sizeGet size of function info entry. Based on gcc magic.
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
gcov_iter_newgcov_iter_new - allocate and initialize profiling data iterator*@info: profiling data set to be iterated* Return file iterator on success, %NULL otherwise.