Messages in this thread | | | Subject | Re: [PATCH] ftrace: add 'version' special file for ring buffer format | From | Steven Rostedt <> | Date | Mon, 14 Mar 2011 22:31:08 -0400 |
| |
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>
| |