Function report |
Source Code:kernel\trace\trace_events.c |
Create Date:2022-07-28 12:21:18 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:event_trace_init
Proto:__init int event_trace_init(void)
Type:int
Parameter:Nothing
| 3179 | tr = The global tracer (top) should be the first trace array added,* but we check the flag anyway. |
| 3187 | entry = tracefs_create_file("available_events", 0444, d_tracer, tr, & ftrace_avail_fops) |
| 3192 | If trace_define_generic_fields() Then pr_warn("tracing: Failed to allocated generic fields") |
| 3195 | If trace_define_common_fields() Then pr_warn("tracing: Failed to allocate common fields") |
| 3198 | ret = The top trace array already had its file descriptors created.* Now the files themselves need to be created. |
| 3203 | ret = register_module_notifier( & trace_module_nb) |
| 3207 | Return 0 |
| Name | Describe |
|---|---|
| tracer_init_tracefs |
| 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 |