commit | c2931e05ec5965597cbfb79ad332d4a29aeceb23 | [log] [tgz] |
---|---|---|
author | Frederic Weisbecker <fweisbec@gmail.com> | Sat Oct 04 22:04:44 2008 +0200 |
committer | Ingo Molnar <mingo@elte.hu> | Tue Oct 14 10:39:22 2008 +0200 |
tree | e1825834156ab83e7c5ed1bbd33c958e5da78b39 | |
parent | 3ea2e6d71aafe35b8aaf89ed711a283815acfae6 [diff] |
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>