函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\gcov\gcc_4_7.c Create Date:2022-07-27 12:36:05
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
183  result等于0
185 i小于GCOV_COUNTERS循环
186  如果Determine whether a counter is active. Doesn't change at run-time.result自加
189  返回:result
调用者
名称描述
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