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:47
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

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

Proto:struct gcov_iterator *gcov_iter_new(struct gcov_info *info)

Type:struct gcov_iterator

Parameter:

TypeParameterName
struct gcov_info *info
495  iter = kzalloc - allocate memory. The memory is set to zero.*@size: how many bytes of memory are required.*@flags: the type of memory to allocate (see kmalloc).
496  If Not iter Then Go to 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  If Not buffer Then Go to 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  Return iter
510  err_free :
511  kfree(iter)
512  Return NULL