ftrace: return an error when setting a nonexistent tracer
authorFrederic Weisbecker <fweisbec@gmail.com>
Sat, 4 Oct 2008 20:04:44 +0000 (22:04 +0200)
committerIngo Molnar <mingo@elte.hu>
Tue, 14 Oct 2008 08:39:22 +0000 (10:39 +0200)
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>

No differences found