commit | 311d16da575f53c3367099579736c1d233efe0dc | [log] [tgz] |
---|---|---|
author | Li Zefan <lizf@cn.fujitsu.com> | Tue Dec 08 11:15:11 2009 +0800 |
committer | Frederic Weisbecker <fweisbec@gmail.com> | Sun Dec 13 18:37:25 2009 +0100 |
tree | 6fea069fc00f50afac428021989d037f0bb0162f | |
parent | 3b8e4273814a7f9e9a74ece517d9206fea919aaa [diff] |
ftrace: Return EINVAL when writing invalid val to set_ftrace_filter Currently it doesn't warn user on invald value: # echo nonexist_symbol > set_ftrace_filter or: # echo 'nonexist_symbol:mod:fuse' > set_ftrace_filter Better make it return failure. Signed-off-by: Li Zefan <lizf@cn.fujitsu.com> Acked-by: Steven Rostedt <rostedt@goodmis.org> LKML-Reference: <4B1DC4BF.2070003@cn.fujitsu.com> Signed-off-by: Frederic Weisbecker <fweisbec@gmail.com>