函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:Determine number of active counters. Based on gcc magic.

函数原型:static unsigned int num_counter_active(struct gcov_info *info)

返回类型:unsigned int

参数:

类型参数名称
struct gcov_info *info
171  result等于0
173 i小于GCOV_COUNTERS循环
174  如果Determine whether a counter is active. Based on gcc magic. Doesn't change* at run-time.result自加
177  返回:result
调用者
名称描述
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.