Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name: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

Proto:static size_t convert_to_gcda(char *buffer, struct gcov_info *info)

Type:size_t

Parameter:

TypeParameterName
char *buffer
struct gcov_info *info
454  pos = 0
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
463  len = 2
465  If use_extra_checksum Then len++
468  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
469  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
470  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
471  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
472  If use_extra_checksum Then 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
475  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
476  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
477  When i < num_counters cycle pos += store_gcov_u64 - store 64 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
481  Return pos
Caller
NameDescribe
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.