[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20090209095816.GB20467@elte.hu>
Date: Mon, 9 Feb 2009 10:58:16 +0100
From: Ingo Molnar <mingo@...e.hu>
To: Arnaldo Carvalho de Melo <acme@...hat.com>
Cc: Steven Rostedt <rostedt@...dmis.org>,
Linux Kernel Mailing List <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH tip 1/1] tracing: handle unregistering the current
tracer
* Arnaldo Carvalho de Melo <acme@...hat.com> wrote:
> Impact: simplification
>
> Instead of requiring that plugins have the sequence:
>
> my_tracer_stop(my_trace_array);
> unregister_tracer(my_tracer);
>
> it should be possible just do a:
>
> unregister_tracer(my_tracer);
>
> Signed-off-by: Arnaldo Carvalho de Melo <acme@...hat.com>
> ---
> kernel/trace/trace.c | 9 +++++++++
> 1 files changed, 9 insertions(+), 0 deletions(-)
Applied to tip/tracing/ftrace, thanks Arnaldo!
Nice one - we should try to shoot for the smallest physically
possible linecount for any new (possibly trivial) tracer plugin.
Ingo
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists