Re: [RFC PATCH 1/3] Unified trace buffer

From: David Miller
Date: Wed Sep 24 2008 - 16:37:43 EST


From: Linus Torvalds <torvalds@xxxxxxxxxxxxxxxxxxxx>
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.
--
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/