Function report |
Source Code:kernel\gcov\gcc_4_7.c |
Create Date:2022-07-28 11:32:38 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:gcov_info_dup - duplicate profiling data set*@info: profiling data set to duplicate* Return newly allocated duplicate on success, %NULL on error.
Proto:struct gcov_info *gcov_info_dup(struct gcov_info *info)
Type:struct gcov_info
Parameter:
Type | Parameter | Name |
---|---|---|
struct gcov_info * | info |
278 | dup = kmemdup(info, size of dup , GFP_KERNEL) |
279 | If Not dup Then Return NULL |
282 | next = NULL |
283 | filename = NULL |
284 | functions = NULL |
286 | filename = kstrdup(filename, GFP_KERNEL) |
290 | functions = kcalloc - allocate memory for an array. The memory is set to zero.*@n: number of elements.*@size: element size.*@flags: the type of memory to allocate (see kmalloc). |
296 | fi_size = sizeof(structgcov_fn_info) |
297 | fi_size += sizeof(structgcov_ctr_info) * active |
299 | When fi_idx < n_functions cycle |
326 | Return dup |
327 | err_free : |
329 | Return NULL |
Source code conversion tool public plug-in interface | X |
---|---|
Support c/c++/esqlc/java Oracle/Informix/Mysql Plug-in can realize: logical Report Code generation and batch code conversion |