Function report |
Source Code:kernel\gcov\fs.c |
Create Date:2022-07-28 11:31:54 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:Callback to create/remove profiling files when code compiled with* -fprofile-arcs is loaded/unloaded.
Proto:void gcov_event(enum gcov_action action, struct gcov_info *info)
Type:void
Parameter:
Type | Parameter | Name |
---|---|---|
enum gcov_action | action | |
struct gcov_info * | info |
732 | mutex_lock( & node_lock) |
736 | If node Then Associate a profiling data set with an existing node. Needs to be called* with node_lock held. |
740 | Break |
741 | Case action == GCOV_REMOVE |
742 | If node Then Disassociate a profiling data set from a node. Needs to be called with* node_lock held. |
744 | Else |
745 | pr_warn("could not remove '%s' (not found)\n", Interface to access gcov_info data ) |
748 | Break |
Name | Describe |
---|---|
gcov_module_notifier | Update list and generate events when modules are unloaded. |
__gcov_init | __gcov_init is called by gcc-generated constructor code for each object* file compiled with -fprofile-arcs. |
llvm_gcov_init | |
gcov_enable_events | gcov_enable_events - enable event reporting through gcov_event()* Turn on reporting of profiling data load/unload-events through the* gcov_event() callback |
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 |