diff options
-rw-r--r-- | kernel/trace/trace.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/kernel/trace/trace.c b/kernel/trace/trace.c index 031c46f11bb..f681f646aa0 100644 --- a/kernel/trace/trace.c +++ b/kernel/trace/trace.c | |||
@@ -4002,7 +4002,7 @@ static __init int tracer_init_debugfs(void) | |||
4002 | trace_create_file("available_tracers", 0444, d_tracer, | 4002 | trace_create_file("available_tracers", 0444, d_tracer, |
4003 | &global_trace, &show_traces_fops); | 4003 | &global_trace, &show_traces_fops); |
4004 | 4004 | ||
4005 | trace_create_file("current_tracer", 0444, d_tracer, | 4005 | trace_create_file("current_tracer", 0644, d_tracer, |
4006 | &global_trace, &set_tracer_fops); | 4006 | &global_trace, &set_tracer_fops); |
4007 | 4007 | ||
4008 | trace_create_file("tracing_max_latency", 0644, d_tracer, | 4008 | trace_create_file("tracing_max_latency", 0644, d_tracer, |
@@ -4011,7 +4011,7 @@ static __init int tracer_init_debugfs(void) | |||
4011 | trace_create_file("tracing_thresh", 0644, d_tracer, | 4011 | trace_create_file("tracing_thresh", 0644, d_tracer, |
4012 | &tracing_thresh, &tracing_max_lat_fops); | 4012 | &tracing_thresh, &tracing_max_lat_fops); |
4013 | 4013 | ||
4014 | trace_create_file("README", 0644, d_tracer, | 4014 | trace_create_file("README", 0444, d_tracer, |
4015 | NULL, &tracing_readme_fops); | 4015 | NULL, &tracing_readme_fops); |
4016 | 4016 | ||
4017 | trace_create_file("trace_pipe", 0444, d_tracer, | 4017 | trace_create_file("trace_pipe", 0444, d_tracer, |