函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:gcov_iter_next - advance file iterator to next logical record*@iter: file iterator* Return zero if new position is valid, non-zero if iterator has reached end.

函数原型:int gcov_iter_next(struct gcov_iterator *iter)

返回类型:int

参数:

类型参数名称
struct gcov_iterator *iter
446  :record恒等于Mapping of logical record number to actual file content.
447  :record恒等于RECORD_GCOV_VERSION
448  :record恒等于RECORD_FUNCTION_TAG
449  :record恒等于RECORD_FUNCTON_TAG_LEN
450  :record恒等于RECORD_FUNCTION_IDENT
451  :record恒等于RECORD_COUNT_TAG
453  record自加
454  退出
455  :record恒等于RECORD_COUNT
457  count自加
459  :record恒等于RECORD_COUNT_LEN
460  如果count小于n_ctrs[type]则
461  record等于9
462  退出
465  offset加等于count
466  count等于0
467  type自加
469  :record恒等于RECORD_FUNCTION_CHECK
470  如果type小于num_types
471  record等于7
472  退出
475  type等于0
476  function自加
478  :record恒等于RECORD_TIME_STAMP
479  如果function小于n_functionsrecord等于3
481  否则record等于负1
483  退出
486  如果record恒等于负1则返回:负EINVAL
488  否则返回:0
调用者
名称描述
gcov_seq_startseq_file.start() implementation for gcov data files. Note that the* gcov_iterator interface is designed to be more restrictive than seq_file* (no start from arbitrary position, etc.), to simplify the iterator* implementation.