函数逻辑报告 |
Source Code:kernel\trace\trace_events.c |
Create Date:2022-07-27 13:28:26 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:event_trace_init
函数原型:__init int event_trace_init(void)
返回类型:int
参数:无
3179 | tr等于The global tracer (top) should be the first trace array added,* but we check the flag anyway. |
3184 | 如果是错误则返回:0 |
3187 | entry等于tracefs_create_file("available_events", 0444, d_tracer, tr, & ftrace_avail_fops) |
3192 | 如果trace_define_generic_fields()则打印警告信息("tracing: Failed to allocated generic fields") |
3195 | 如果trace_define_common_fields()则打印警告信息("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 | 返回:0 |
名称 | 描述 |
---|---|
tracer_init_tracefs |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |