Function report |
Source Code:kernel\gcov\gcc_3_4.c |
Create Date:2022-07-28 11:32:13 |
| 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 |
| 260 | dup = 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). |
| 261 | If Not dup Then Return NULL |
| 265 | n_functions = n_functions |
| 268 | filename = kstrdup(filename, GFP_KERNEL) |
| 272 | functions = kmemdup(functions, n_functions * Get size of function info entry. Based on gcc magic. , GFP_KERNEL) |
| 286 | No 3D Now!(values, values, size) |
| 288 | Return dup |
| 290 | err_free : |
| 292 | 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 |