Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\gcov\fs.c Create Date:2022-07-28 11:31:53
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:Disassociate a profiling data set from a node. Needs to be called with* node_lock held.

Proto:static void remove_info(struct gcov_node *node, struct gcov_info *info)

Type:void

Parameter:

TypeParameterName
struct gcov_node *node
struct gcov_info *info
703  i = Return the index of a profiling data set associated with a node.
704  If i < 0 Then
705  pr_warn("could not remove '%s' (not found)\n", Interface to access gcov_info data )
707  Return
709  If If non-zero, keep copies of profiling data for unloaded modules. Then 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  If num_loaded > 0 Then Return
717  kfree(loaded_info)
718  loaded_info = NULL
719  num_loaded = 0
720  If Not unloaded_info Then remove_node(node)
Caller
NameDescribe
gcov_eventCallback to create/remove profiling files when code compiled with* -fprofile-arcs is loaded/unloaded.