Function report |
Source Code:kernel\trace\trace_stat.c |
Create Date:2022-07-28 12:06:10 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name: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.
Proto:static int stat_seq_init(struct stat_session *session)
Type:int
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct stat_session * | session |
| 128 | ret = 0 |
| 131 | mutex_lock( & stat_mutex) |
| 137 | stat = stat_start(ts) |
| 148 | cycle |
| 152 | If Not stat Then Break |
| 156 | If ret Then Go to exit_free_rbtree |
| 160 | exit : |
| 162 | Return ret |
| 164 | exit_free_rbtree : |
| 167 | Return ret |
| Name | Describe |
|---|---|
| tracing_stat_open | The session stat is refilled and resorted at each stat file opening |
| 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 |