Re: [RFC][PATCH 03/21] ring-buffer: Add TIME_EXTEND_ABS ring buffer type

From: Steven Rostedt
Date: Fri Feb 10 2017 - 09:30:25 EST


On Fri, 10 Feb 2017 15:04:51 +0900
Namhyung Kim <namhyung@xxxxxxxxxx> wrote:

> >
> > But it would require comments and/or a wrapper to define it so people
> > in the future know what it is doing.
>
> What about
>
> event->type_len >= RINGBUF_TYPE_TIME_EXTEND
>
> ? I think it's easier to understand what it's doing.
>

Either way, I'd like to have it defined as a macro.

-- Steve