Function report | 
Source Code:kernel\trace\trace_hwlat.c | 
Create Date:2022-07-28 12:11:00 | 
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick | 
| home page | Tree | 
| Annotation kernel can get tool activity | Download SCCT | Chinese | 
Name:_tracefs - A function to initialize the tracefs interface files* This function creates entries in tracefs for "hwlat_detector"
Proto:static int init_tracefs(void)
Type:int
Parameter:Nothing
| 538 | top_dir = tracefs_create_dir("hwlat_detector", d_tracer) | 
| 542 | sample window us = tracefs_create_file("window", 0640, top_dir, & al sampling window (on+off) , & window_fops) | 
| 546 | If Not sample window us Then Go to err | 
| 549 | sample width us = tracefs_create_file("width", 0644, top_dir, & active sampling portion of window , & width_fops) | 
| 553 | If Not sample width us Then Go to err | 
| 556 | Return 0 | 
| 558 | err : | 
| 560 | Return -ENOMEM | 
| Name | Describe | 
|---|---|
| init_hwlat_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  |