Re: [PATCH tip 1/1] trace: assign defaults at register_ftrace_event

From: Ingo Molnar
Date: Thu Feb 05 2009 - 08:37:16 EST



* Arnaldo Carvalho de Melo <acme@xxxxxxxxxx> wrote:

> Impact: simplification of tracers
>
> As all tracers are doing this we might as well do it in
> register_ftrace_event and save one branch each time we call these
> callbacks.
>
> Cc: Ingo Molnar <mingo@xxxxxxx>
> Cc: Frédéric Weisbecker <fweisbec@xxxxxxxxx>
> Cc: Jens Axboe <jens.axboe@xxxxxxxxxx>
> Signed-off-by: Arnaldo Carvalho de Melo <acme@xxxxxxxxxx>
> ---
> block/blktrace.c | 2 --
> kernel/trace/trace.c | 13 +++++--------
> kernel/trace/trace_branch.c | 3 ---
> kernel/trace/trace_output.c | 13 +++++++++++--
> 4 files changed, 16 insertions(+), 15 deletions(-)

Applied to tip/tracing/ftrace, thanks guys!

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/