Re: [PATCH -tip] Return an error when setting a nonexistent tracer
From: Steven Rostedt
Date: Sat Oct 04 2008 - 20:00:44 EST
On Sat, 4 Oct 2008, Frederic Weisbecker wrote:
> 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.
Thanks! This has been something I've been meaning to do for a long
time but have never got around to doing it.
( I knew if I waited long enough, someone else would do it ;-)
>
> Signed-off-by: Frederic Weisbecker <fweisbec@xxxxxxxxx>
Acked-by: Steven Rostedt <srostedt@xxxxxxxxxx>
-- Steve
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/