lkml.org 
[lkml]   [2008]   [Sep]   [30]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [RFC PATCH] LTTng relay buffer allocation, read, write

On Tue, 30 Sep 2008, Mathieu Desnoyers wrote:
>
> You are actually using them to put redundant information that could be
> encoded differently and thus save 4 bits per event records, more or less
> what will be needed by most tracers (15 IDs, 1 reserved for an extended
> ID field).

I really like the idea of keeping the tracer event ids out of the ring
buffer logic.

>
> So the fact that you use them does not mean they are really required,
> and I don't think such duplicated information actually makes things more
> solid. Maybe just more obscure ?

Well, at least for version 1 these bits stay. I already found two bugs by
hitting the event padding when the size said it should not have. This
redundant information makes me feel a bit more cozy when they match.

-- Steve



\
 
 \ /
  Last update: 2008-09-30 21:47    [W:0.047 / U:1.928 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site