Function report |
Source Code:kernel\gcov\fs.c |
Create Date:2022-07-28 11:31:53 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:Disassociate a profiling data set from a node. Needs to be called with* node_lock held.
Proto:static void remove_info(struct gcov_node *node, struct gcov_info *info)
Type:void
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct gcov_node * | node | |
| struct gcov_info * | info |
| 704 | If i < 0 Then |
| 705 | pr_warn("could not remove '%s' (not found)\n", Interface to access gcov_info data ) |
| 707 | Return |
| 709 | If If non-zero, keep copies of profiling data for unloaded modules. Then Save the data of a profiling data set which is being unloaded. |
| 712 | loaded_info[i] = loaded_info[num_loaded - 1] |
| 713 | num_loaded-- |
| 714 | If num_loaded > 0 Then Return |
| 717 | kfree(loaded_info) |
| 718 | loaded_info = NULL |
| 719 | num_loaded = 0 |
| 720 | If Not unloaded_info Then remove_node(node) |
| Name | Describe |
|---|---|
| gcov_event | 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 |