函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:remove_node

函数原型:static void remove_node(struct gcov_node *node)

返回类型:void

参数:

类型参数名称
struct gcov_node *node
497 node不等于root_node链表为空循环
498  parent等于parent
499  Remove node from all lists and debugfs and release associated resources.* Needs to be called with node_lock held.
500  node等于parent
调用者
名称描述
gcov_seq_writewrite() implementation for gcov data files. Reset profiling data for the* corresponding file. If all associated object files have been unloaded,* remove the debug fs node as well.
reset_writewrite() implementation for reset file. Reset all profiling data to zero* and remove nodes for which all associated object files are unloaded.
add_nodeCreate a node for a given profiling data set and add it to all lists and* debugfs. Needs to be called with node_lock held.
remove_infoDisassociate a profiling data set from a node. Needs to be called with* node_lock held.