Lines Matching refs:top_dir
2046 static int init_timerlat_stack_tracefs(struct dentry *top_dir) in init_timerlat_stack_tracefs() argument
2050 tmp = tracefs_create_file("print_stack", TRACE_MODE_WRITE, top_dir, in init_timerlat_stack_tracefs()
2058 static int init_timerlat_stack_tracefs(struct dentry *top_dir) in init_timerlat_stack_tracefs() argument
2067 static int init_timerlat_tracefs(struct dentry *top_dir) in init_timerlat_tracefs() argument
2071 tmp = tracefs_create_file("timerlat_period_us", TRACE_MODE_WRITE, top_dir, in init_timerlat_tracefs()
2076 return init_timerlat_stack_tracefs(top_dir); in init_timerlat_tracefs()
2079 static int init_timerlat_tracefs(struct dentry *top_dir) in init_timerlat_tracefs() argument
2094 struct dentry *top_dir; in init_tracefs() local
2102 top_dir = tracefs_create_dir("osnoise", NULL); in init_tracefs()
2103 if (!top_dir) in init_tracefs()
2106 tmp = tracefs_create_file("period_us", TRACE_MODE_WRITE, top_dir, in init_tracefs()
2111 tmp = tracefs_create_file("runtime_us", TRACE_MODE_WRITE, top_dir, in init_tracefs()
2116 tmp = tracefs_create_file("stop_tracing_us", TRACE_MODE_WRITE, top_dir, in init_tracefs()
2121 tmp = tracefs_create_file("stop_tracing_total_us", TRACE_MODE_WRITE, top_dir, in init_tracefs()
2126 tmp = trace_create_file("cpus", TRACE_MODE_WRITE, top_dir, NULL, &cpus_fops); in init_tracefs()
2130 ret = init_timerlat_tracefs(top_dir); in init_tracefs()
2137 tracefs_remove(top_dir); in init_tracefs()