Function report | 
Source Code:kernel\trace\trace.c | 
Create Date:2022-07-28 12:03:03 | 
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick | 
| home page | Tree | 
| Annotation kernel can get tool activity | Download SCCT | Chinese | 
Name:tracing_init_tracefs_percpu
Proto:static void tracing_init_tracefs_percpu(struct trace_array *tr, long cpu)
Type:void
Parameter:
| Type | Parameter | Name | 
|---|---|---|
| struct trace_array * | tr | |
| long | cpu | 
| 7919 | d_percpu = tracing_dentry_percpu(tr, cpu) | 
| 7923 | If Not d_percpu Then Return | 
| 7927 | d_cpu = tracefs_create_dir(cpu_dir, d_percpu) | 
| 7928 | If Not d_cpu Then | 
| 7934 | trace_create_cpu_file("trace_pipe", 0444, d_cpu, tr, cpu, & tracing_pipe_fops) | 
| 7938 | trace_create_cpu_file("trace", 0644, d_cpu, tr, cpu, & tracing_fops) | 
| 7941 | trace_create_cpu_file("trace_pipe_raw", 0444, d_cpu, tr, cpu, & tracing_buffers_fops) | 
| 7944 | trace_create_cpu_file("stats", 0444, d_cpu, tr, cpu, & tracing_stats_fops) | 
| 7947 | trace_create_cpu_file("buffer_size_kb", 0444, d_cpu, tr, cpu, & tracing_entries_fops) | 
| Name | Describe | 
|---|---|
| init_tracer_tracefs | 
| 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  |