函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:Disassociate a profiling data set from a node. Needs to be called with* node_lock held.

函数原型:static void remove_info(struct gcov_node *node, struct gcov_info *info)

返回类型:void

参数:

类型参数名称
struct gcov_node *node
struct gcov_info *info
703  i等于Return the index of a profiling data set associated with a node.
704  如果i小于0则
705  打印警告信息("could not remove '%s' (not found)\n", Interface to access gcov_info data )
707  返回
709  如果If non-zero, keep copies of profiling data for unloaded modules. Save the data of a profiling data set which is being unloaded.
712  loaded_info[i]等于loaded_info[num_loaded - 1]
713  num_loaded自减
714  如果num_loaded大于0则返回
717  kfree(loaded_info)
718  loaded_info = NULL
719  num_loaded等于0
720  如果非unloaded_inforemove_node(node)
调用者
名称描述
gcov_eventCallback to create/remove profiling files when code compiled with* -fprofile-arcs is loaded/unloaded.