lkml.org 
[lkml]   [2011]   [Nov]   [25]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH] Tracepoint: introduce tracepoint() API
From
Date
Le vendredi 25 novembre 2011 à 17:14 -0500, Mathieu Desnoyers a écrit :
> Introduce:
>
> tracepoint(event_name, arg1, arg2, ...)
>
> while keeping the old tracepoint API in place, e.g.:
>
> trace_event_name(arg1, arg2, ...)
>
> This allows skipping parameter side-effects (pointer dereference,
> function calls, ...) when the tracepoint is not dynamically activated.
>
> This allows progressive (and partial) API transition from trace_*(...)
> to tracepoint(*, ...). This differs from the previous attempt to
> introduce this change by Jason Baron in that it supports both the
> original and new tracepoint APIs, which makes the transition smoother
> than having to change all instrumentation at once.
>
> Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
> Acked-by: Steven Rostedt <rostedt@goodmis.org>
> Acked-by: Jason Baron <jbaron@redhat.com>
> Link: https://lkml.org/lkml/2009/5/19/328
> CC: Eric Dumazet <eric.dumazet@gmail.com>
> CC: Peter Zijlstra <peterz@infradead.org>
> CC: Ingo Molnar <mingo@elte.hu>
> CC: Christoph Lameter <cl@linux-foundation.org>
> ---

Seems good to me, thanks Mathieu !

Acked-by: Eric Dumazet <eric.dumazet@gmail.com>



--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2011-11-25 23:45    [W:0.057 / U:0.004 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site