Messages in this thread | | | Subject | Re: [PATCH] Tracepoint: introduce tracepoint() API | From | Eric Dumazet <> | Date | Fri, 25 Nov 2011 23:43:25 +0100 |
| |
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/
| |