函数逻辑报告 |
Source Code:kernel\trace\trace_stat.c |
Create Date:2022-07-27 13:12:45 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| 首页 | 函数Tree |
| 注解内核,赢得工具 | 下载SCCT | English |
函数名称:Initialize the stat rbtree at each trace_stat file opening.* All of these copies and sorting are required on all opening* since the stats could have changed between two file sessions.
函数原型:static int stat_seq_init(struct stat_session *session)
返回类型:int
参数:
| 类型 | 参数 | 名称 |
|---|---|---|
| struct stat_session * | session |
| 128 | ret等于0 |
| 131 | mutex_lock( & stat_mutex) |
| 137 | stat等于stat_start(ts) |
| 148 | 循环 |
| 156 | 如果ret则转到:exit_free_rbtree |
| 160 | exit : |
| 162 | 返回:ret |
| 164 | exit_free_rbtree : |
| 167 | 返回:ret |
| 名称 | 描述 |
|---|---|
| tracing_stat_open | The session stat is refilled and resorted at each stat file opening |
| 源代码转换工具 开放的插件接口 | X |
|---|---|
| 支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |