Re: [PATCH -tip] Return an error when setting a nonexistent tracer

From: Ingo Molnar
Date: Sun Oct 05 2008 - 05:50:18 EST



* Steven Rostedt <rostedt@xxxxxxxxxxx> wrote:

> 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>

applied to tip/tracing/core, thanks!

Ingo
--
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/