[lkml]   [2008]   [Sep]   [24]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [RFC PATCH 1/3] Unified trace buffer

On Wed, 24 Sep 2008, David Miller wrote:

> From: Linus Torvalds <>
> Date: Wed, 24 Sep 2008 13:23:47 -0700 (PDT)
> > So I'd like the thing to have small headers, and be designed from the
> > start to have small headers.
> Small headers are good, but I'd suggest making sure there is an
> "offset" or similar field in there.
> Not that I want to encourage frequent changes to header layout, but if
> you do need to add something, then this offset field allows you to do
> so while keeping existing analysis tools working. They will just
> ignore the new information in the headers, but they will still be able
> to get at the data bits using the offset.

Right now I have a "length" field when fixed_length is not specified. This
length is currently offest by 8 leaving all 8 bytes aligned.

We could change this to be variable? Would that help you?

-- Steve

 \ /
  Last update: 2008-09-24 22:53    [W:0.144 / U:0.052 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site