Re: [PATCH 12/15] ftrace: add traceon traceoff commands toenable/disable the buffers

From: Ingo Molnar
Date: Tue Feb 17 2009 - 05:38:02 EST



* Steven Rostedt <rostedt@xxxxxxxxxxx> wrote:

> + if (*count != -1)
> + (*count)--;

minor nit: it's a tiny bit more compact as:

> + if (*count != -1)
> + --*count;

and this:

> return register_tracer(&function_trace);
> }
>
> device_initcall(init_function_trace);
> +

there should be no newline between device_initcall() and the
preceding function. (we can think of it as a late attribute of
the function, attached to the function. We do the same for
EXPORT_SYMBOL's too, etc.)

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/