diff options
author | Frederic Weisbecker <fweisbec@gmail.com> | 2008-10-04 22:04:44 +0200 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2008-10-14 10:39:22 +0200 |
commit | c2931e05ec5965597cbfb79ad332d4a29aeceb23 (patch) | |
tree | e1825834156ab83e7c5ed1bbd33c958e5da78b39 /scripts | |
parent | 3ea2e6d71aafe35b8aaf89ed711a283815acfae6 (diff) | |
download | linux-c2931e05ec5965597cbfb79ad332d4a29aeceb23.tar.gz linux-c2931e05ec5965597cbfb79ad332d4a29aeceb23.tar.bz2 linux-c2931e05ec5965597cbfb79ad332d4a29aeceb23.zip |
ftrace: return an error when setting a nonexistent tracer
When one try to set a nonexistent tracer, no error is returned
as if the name of the tracer was correct.
We should return -EINVAL.
Signed-off-by: Frederic Weisbecker <fweisbec@gmail.com>
Acked-by: Steven Rostedt <srostedt@redhat.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions