Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:Get size of function info entry. Based on gcc magic.

Proto:static size_t get_fn_size(struct gcov_info *info)

Type:size_t

Parameter:

TypeParameterName
struct gcov_info *info
232  size = sizeof(structgcov_fn_info) + Determine number of active counters. Based on gcc magic. * sizeof(unsignedint)
234  If __alignof__(structgcov_fn_info) > sizeof(unsignedint) Then size = @a is a power of 2 value (size, __alignof__(structgcov_fn_info))
236  Return size
Caller
NameDescribe
get_fn_infoGet address of function info entry. Based on gcc magic.
gcov_info_dupgcov_info_dup - duplicate profiling data set*@info: profiling data set to duplicate* Return newly allocated duplicate on success, %NULL on error.