函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:gcov_iter_new - allocate and initialize profiling data iterator*@info: profiling data set to be iterated* Return file iterator on success, %NULL otherwise.

函数原型:struct gcov_iterator *gcov_iter_new(struct gcov_info *info)

返回类型:struct gcov_iterator

参数:

类型参数名称
struct gcov_info *info
495  iter等于分配内存并置零
496  如果非iter则转到:err_free
499  info等于info
501  size等于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
502  buffer等于vmalloc(size)
503  如果非buffer则转到:err_free
506  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
508  返回:iter
510  err_free :
511  kfree(iter)
512  返回:NULL