Function report |
Source Code:kernel\gcov\clang.c |
Create Date:2022-07-28 11:33:09 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:gcov_fn_info_dup
Proto:static struct gcov_fn_info *gcov_fn_info_dup(struct gcov_fn_info *fn)
Type:struct gcov_fn_info
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct gcov_fn_info * | fn |
| 301 | fn_dup = kmemdup(fn, size of fn , GFP_KERNEL) |
| 303 | If Not fn_dup Then Return NULL |
| 307 | function_name = kstrdup(function_name, GFP_KERNEL) |
| 308 | If Not function_name Then Go to err_name |
| 311 | cv_size = num_counters * size of counters[0] |
| 313 | If Not counters Then Go to err_counters |
| 315 | No 3D Now!(counters, counters, cv_size) |
| 317 | Return fn_dup |
| 319 | err_counters : |
| 320 | kfree(function_name) |
| 321 | err_name : |
| 323 | Return NULL |
| Name | Describe |
|---|---|
| gcov_info_dup | gcov_info_dup - duplicate profiling data set*@info: profiling data set to duplicate* Return newly allocated duplicate on success, %NULL on error. |
| 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 |