Re: [PATCH] ftrace: add 'version' special file for ring bufferformat
From: Steven Rostedt
Date: Mon Mar 14 2011 - 22:31:18 EST
On Mon, 2011-03-14 at 15:42 -0700, Slava Pestov wrote:
> The intention here is that if the ftrace ring buffer format changes
> in the future like it did in the past with ktrace, we can increment
> the version number and update clients appropriately.
I purposely avoided "versions", and instead use the
tracing/events/header_page and .../header_event to describe how the ring
buffer format is laid out. If the format changes, then so should those
files.
-- Steve
>
> Tested: Verified that special file contains correct content
>
> This patch is against 2.6.38-rc8 but should apply to any version
> from at least 2.6.34 onwards.
>
> Signed-Off-By: Slava Pestov <slavapestov@xxxxxxxxxx>
--
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/