Function report |
Source Code:kernel\trace\trace_stat.c |
Create Date:2022-07-28 12:06:18 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:init_stat_file
Proto:static int init_stat_file(struct stat_session *session)
Type:int
Parameter:
Type | Parameter | Name |
---|---|---|
struct stat_session * | session |
297 | If Not The root directory for all stat files && (ret = tracing_stat_init()) Then Return ret |
300 | file = tracefs_create_file(The name of your stat file , 0644, The root directory for all stat files , session, & tracing_stat_fops) |
305 | Return 0 |
Name | Describe |
---|---|
register_stat_tracer |
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 |