函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\gcov\clang.c Create Date:2022-07-27 12:36:54
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
494  iter等于分配内存并置零
495  如果非iter则转到:err_free
498  info等于info
500  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
501  buffer等于vmalloc(size)
502  如果非buffer则转到:err_free
505  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
507  返回:iter
509  err_free :
510  kfree(iter)
511  返回:NULL