lkml.org 
[lkml]   [2011]   [Mar]   [14]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH] ftrace: add 'version' special file for ring buffer format
From
Date
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@google.com>




\
 
 \ /
  Last update: 2011-03-15 03:33    [W:0.055 / U:0.804 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site