Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:Find a node by the associated data file name. Needs to be called with* node_lock held.

Proto:static struct gcov_node *get_node_by_name(const char *name)

Type:struct gcov_node

Parameter:

TypeParameterName
const char *name
244  info = Return a profiling data set associated with the given node. This is* either a data set for a loaded object file or a data set copy in case* all associated object files have been unloaded.
245  If info && strcmp(Interface to access gcov_info data , name) == 0 Then Return node
249  Return NULL
Caller
NameDescribe
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.
gcov_eventCallback to create/remove profiling files when code compiled with* -fprofile-arcs is loaded/unloaded.