Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:Return a newly allocated profiling data set which contains the sum of* all profiling data associated with the given node.

Proto:static struct gcov_info *get_accumulated_info(struct gcov_node *node)

Type:struct gcov_info

Parameter:

TypeParameterName
struct gcov_node *node
160  i = 0
162  If unloaded_info Then info = gcov_info_dup(unloaded_info)
164  Else info = gcov_info_dup(loaded_info[i++])
166  If Not info Then Return NULL
168  When i < num_loaded cycle gcov_info_add(info, loaded_info[i])
171  Return info
Caller
NameDescribe
gcov_seq_openpen() implementation for gcov data files. Create a copy of the profiling* data set and initialize the iterator and seq_file interface.