diff options
author | Li Zefan <lizf@cn.fujitsu.com> | 2009-12-08 11:15:11 +0800 |
---|---|---|
committer | Frederic Weisbecker <fweisbec@gmail.com> | 2009-12-13 18:37:25 +0100 |
commit | 311d16da575f53c3367099579736c1d233efe0dc (patch) | |
tree | 6fea069fc00f50afac428021989d037f0bb0162f /Kbuild | |
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>
Diffstat (limited to 'Kbuild')
0 files changed, 0 insertions, 0 deletions