Function report |
Source Code:kernel\gcov\clang.c |
Create Date:2022-07-28 11:32:58 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:llvm_gcov_init
Proto:void llvm_gcov_init(llvm_gcov_callback writeout, llvm_gcov_callback flush)
Type:void
Parameter:
| Type | Parameter | Name |
|---|---|---|
| llvm_gcov_callback | writeout | |
| llvm_gcov_callback | flush |
| 87 | info = 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). |
| 89 | If Not info Then Return |
| 95 | mutex_lock( & gcov_lock) |
| 98 | current_info = info |
| 99 | writeout() |
| 100 | current_info = NULL |
| 101 | If gcov_events_enabled Then Callback to create/remove profiling files when code compiled with* -fprofile-arcs is loaded/unloaded. |
| 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 |