提交 9bd7d099 编写于 作者: F Frederic Weisbecker 提交者: Ingo Molnar

tracing/events: make the filter files writable

We need the filter files to be writable, the current
filter file permissions are only set readable.
Signed-off-by: NFrederic Weisbecker <fweisbec@gmail.com>
Cc: Steven Rostedt <rostedt@goodmis.org>
Cc: Tom Zanussi <tzanussi@gmail.com>
LKML-Reference: <1237759847-21025-1-git-send-email-fweisbec@gmail.com>
Signed-off-by: NIngo Molnar <mingo@elte.hu>
上级 fe9f57f2
......@@ -706,7 +706,7 @@ event_subsystem_dir(const char *name, struct dentry *d_events)
system->preds = NULL;
entry = debugfs_create_file("filter", 0444, system->entry, system,
entry = debugfs_create_file("filter", 0644, system->entry, system,
&ftrace_subsystem_filter_fops);
if (!entry)
pr_warning("Could not create debugfs "
......@@ -769,7 +769,7 @@ event_create_dir(struct ftrace_event_call *call, struct dentry *d_events)
}
}
entry = debugfs_create_file("filter", 0444, call->dir, call,
entry = debugfs_create_file("filter", 0644, call->dir, call,
&ftrace_event_filter_fops);
if (!entry)
pr_warning("Could not create debugfs "
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册