Re: [PATCH v5 2/2] tracing: add additional marks to signal very large time

From: Steven Rostedt
Date: Thu Nov 20 2014 - 08:49:15 EST


On Thu, 20 Nov 2014 15:38:46 +0900
Byungchul Park <byungchul.park@xxxxxxx> wrote:


> > I think it's impossible since it's always true that 'd >= 0'.
> >
>
> If someone won't define "MARK(0ULL, ' ')", then i think it can happen. :)
>

Actually, remove the "MARK(0ULL, ' ')" and keep the return value as is.
But clean it up a little like this:

return (i == size) ? ' ' : mark[i].sym;

Notice the space between "size)" and "?"

-- Steve
--
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/