函数逻辑报告 |
Source Code:kernel\trace\trace_stat.c |
Create Date:2022-07-27 13:12:56 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:register_stat_tracer
函数原型:int register_stat_tracer(struct tracer_stat *trace)
返回类型:int
参数:
类型 | 参数 | 名称 |
---|---|---|
struct tracer_stat * | trace |
316 | 如果非stat_start或非stat_next或非stat_show则返回:负EINVAL |
320 | mutex_lock( & all_stat_sessions_mutex) |
333 | 初始化链表头 |
334 | mutex_init - initialize the mutex*@mutex: the mutex to be initialized* Initialize the mutex to unlocked state.* It is not allowed to initialize an already locked mutex.( & stat_mutex) |
336 | ret等于init_stat_file(session) |
337 | 如果ret则 |
338 | destroy_session(session) |
339 | 转到:out |
342 | ret等于0 |
344 | 添加链表项 |
345 | out : |
348 | 返回:ret |
名称 | 描述 |
---|---|
init_annotated_branch_stats |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |