函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:vert_to_gcda - convert profiling data set to gcda file format*@buffer: the buffer to store file data or %NULL if no data should be stored*@info: profiling data set to be converted

函数原型:static size_t convert_to_gcda(char *buffer, struct gcov_info *info)

返回类型:size_t

参数:

类型参数名称
char *buffer
struct gcov_info *info
445  pos等于0
448  pos加等于store_gcov_u32 - store 32 bit number in gcov format to buffer*@buffer: target buffer or NULL*@off: offset into the buffer*@v: value to be stored* Number format defined by gcc: numbers are recorded in the 32 bit* unsigned binary form of the endianness of
449  pos加等于store_gcov_u32 - store 32 bit number in gcov format to buffer*@buffer: target buffer or NULL*@off: offset into the buffer*@v: value to be stored* Number format defined by gcc: numbers are recorded in the 32 bit* unsigned binary form of the endianness of
450  pos加等于store_gcov_u32 - store 32 bit number in gcov format to buffer*@buffer: target buffer or NULL*@off: offset into the buffer*@v: value to be stored* Number format defined by gcc: numbers are recorded in the 32 bit* unsigned binary form of the endianness of
452 fi_idx小于n_functions循环
453  fi_ptr等于functions[fi_idx]
456  pos加等于store_gcov_u32 - store 32 bit number in gcov format to buffer*@buffer: target buffer or NULL*@off: offset into the buffer*@v: value to be stored* Number format defined by gcc: numbers are recorded in the 32 bit* unsigned binary form of the endianness of
457  pos加等于store_gcov_u32 - store 32 bit number in gcov format to buffer*@buffer: target buffer or NULL*@off: offset into the buffer*@v: value to be stored* Number format defined by gcc: numbers are recorded in the 32 bit* unsigned binary form of the endianness of
458  pos加等于store_gcov_u32 - store 32 bit number in gcov format to buffer*@buffer: target buffer or NULL*@off: offset into the buffer*@v: value to be stored* Number format defined by gcc: numbers are recorded in the 32 bit* unsigned binary form of the endianness of
459  pos加等于store_gcov_u32 - store 32 bit number in gcov format to buffer*@buffer: target buffer or NULL*@off: offset into the buffer*@v: value to be stored* Number format defined by gcc: numbers are recorded in the 32 bit* unsigned binary form of the endianness of
460  pos加等于store_gcov_u32 - store 32 bit number in gcov format to buffer*@buffer: target buffer or NULL*@off: offset into the buffer*@v: value to be stored* Number format defined by gcc: numbers are recorded in the 32 bit* unsigned binary form of the endianness of
462  ci_ptr等于ctrs
464 ct_idx小于GCOV_COUNTERS循环
473 cv_idx小于num循环
478  ci_ptr自加
482  返回:pos
调用者
名称描述
gcov_iter_newgcov_iter_new - allocate and initialize profiling data iterator*@info: profiling data set to be iterated* Return file iterator on success, %NULL otherwise.