lkml.org 
[lkml]   [2009]   [Feb]   [17]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH 12/15] ftrace: add traceon traceoff commands to enable/disable the buffers

On Tue, 17 Feb 2009, Ingo Molnar wrote:

>
> * Steven Rostedt <rostedt@goodmis.org> wrote:
>
> > + if (*count != -1)
> > + (*count)--;
>
> minor nit: it's a tiny bit more compact as:
>
> > + if (*count != -1)
> > + --*count;

Doesn't that move the pointer? Cases like these, I prefer the parenthesis,
because I get confused about C ordering.

>
> 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.)

OK,

Do you want me to rebase, or just send out new "clean up" patches?

-- Steve



\
 
 \ /
  Last update: 2009-02-18 12:23    [W:0.051 / U:3.472 seconds]
©2003-2017 Jasper Spaans. hosted at Digital OceanAdvertise on this site