projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fe9f57f
)
tracing/events: make the filter files writable
author
Frederic Weisbecker
<fweisbec@gmail.com>
Sun, 22 Mar 2009 22:10:43 +0000
(23:10 +0100)
committer
Ingo Molnar
<mingo@elte.hu>
Mon, 23 Mar 2009 08:22:14 +0000
(09:22 +0100)
We need the filter files to be writable, the current
filter file permissions are only set readable.
Signed-off-by: Frederic 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: Ingo Molnar <mingo@elte.hu>
kernel/trace/trace_events.c
patch
|
blob
|
blame
|
history
diff --git
a/kernel/trace/trace_events.c
b/kernel/trace/trace_events.c
index 594d78aaa1851e1663e73a66fae56afecd2eb14b..19f61dd232193e62f31c6da6099f7f5fe6510149 100644
(file)
--- a/
kernel/trace/trace_events.c
+++ b/
kernel/trace/trace_events.c
@@
-706,7
+706,7
@@
event_subsystem_dir(const char *name, struct dentry *d_events)
system->preds = NULL;
- entry = debugfs_create_file("filter", 0
4
44, system->entry, system,
+ entry = debugfs_create_file("filter", 0
6
44, 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", 0
4
44, call->dir, call,
+ entry = debugfs_create_file("filter", 0
6
44, call->dir, call,
&ftrace_event_filter_fops);
if (!entry)
pr_warning("Could not create debugfs "