lkml.org 
[lkml]   [2014]   [Sep]   [3]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: [PATCH] ftrace: The set_graph_function and set_graph_notrace file mode should be 0644 instead of 0444
Date
Hi Chen,

On Wed, 3 Sep 2014 14:31:09 +0800, Chen LinX wrote:
> Signed-off-by: Chen LinX <linx.z.chen@intel.com>

Acked-by: Namhyung Kim <namhyung@kernel.org>

Thanks,
Namhyung


> ---
> kernel/trace/ftrace.c | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/kernel/trace/ftrace.c b/kernel/trace/ftrace.c
> index 5916a8e..00e7b9a 100644
> --- a/kernel/trace/ftrace.c
> +++ b/kernel/trace/ftrace.c
> @@ -4406,10 +4406,10 @@ static __init int ftrace_init_dyn_debugfs(struct dentry *d_tracer)
> ftrace_create_filter_files(&global_ops, d_tracer);
>
> #ifdef CONFIG_FUNCTION_GRAPH_TRACER
> - trace_create_file("set_graph_function", 0444, d_tracer,
> + trace_create_file("set_graph_function", 0644, d_tracer,
> NULL,
> &ftrace_graph_fops);
> - trace_create_file("set_graph_notrace", 0444, d_tracer,
> + trace_create_file("set_graph_notrace", 0644, d_tracer,
> NULL,
> &ftrace_graph_notrace_fops);
> #endif /* CONFIG_FUNCTION_GRAPH_TRACER */


\
 
 \ /
  Last update: 2014-09-04 03:41    [W:0.044 / U:0.196 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site