| Function report | 
| Source Code: kernel\trace\trace.c | Create Date:2022-07-28 12:03:46 | 
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick | 
| home page | Tree | 
| Annotation kernel can get tool activity | Download SCCT | Chinese | 
Name:racing_init_dentry - initialize top level trace array* This is called when creating files or directories in the tracing* directory. It is called via fs_initcall() by any of the boot up code
Proto:struct dentry *tracing_init_dentry(void)
Type:struct dentry
Parameter:Nothing
| 8806 | tr = The global_trace is the descriptor that holds the top-level tracing* buffers for the live tracing. | 
| 8808 | If security_locked_down(LOCKDOWN_TRACEFS) Then | 
| 8814 | If dir Then Return NULL | 
| 8817 | If WARN_ON(!tracefs_initialized()) || IS_ENABLED(CONFIG_FOO) evaluates to 1 if CONFIG_FOO is set to 'y' or 'm',* 0 otherwise.(CONFIG_DEBUG_FS) && WARN_ON(!debugfs_initialized()) Then Return ERR_PTR( - ENODEV) | 
| 8828 | dir = debugfs_create_automount("tracing", NULL, trace_automount, NULL) | 
| 8831 | Return NULL | 
| Name | Describe | 
|---|---|
| tracer_init_tracefs | |
| tracing_stat_init | |
| init_trace_printk_function_export | |
| init_tracefs | _tracefs - A function to initialize the tracefs interface files* This function creates entries in tracefs for "hwlat_detector" | 
| stack_trace_init | |
| init_graph_tracefs | |
| event_trace_init | |
| trace_events_hist_init | |
| init_kprobe_trace | Make a tracefs interface for controlling probe points | 
| init_dynamic_event | Make a tracefs interface for controlling dynamic events | 
| init_uprobe_trace | Make a trace interface for controling probe points | 
| 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 |