Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\gcov\gcc_4_7.c Create Date:2022-07-28 11:32:45
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
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  When fi_idx < n_functions cycle
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  When ct_idx < GCOV_COUNTERS cycle
473  When cv_idx < num cycle
478  ci_ptr++
482  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.