lkml.org 
[lkml]   [2009]   [Feb]   [9]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH tip 1/1] tracing: handle unregistering the current tracer

* Arnaldo Carvalho de Melo <acme@redhat.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@redhat.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


\
 
 \ /
  Last update: 2009-02-09 11:01    [W:0.041 / U:0.284 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site