Re: [RFC PATCH 1/2 v2] Unified trace buffer

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Steven Rostedt
Date: Thursday, September 25, 2008 - 10:16 am

On Thu, 25 Sep 2008, Linus Torvalds wrote:

hehe, this code is in so much flux, that I gave up on keeping the
comments up to date.


The problem with this is overwrite mode, which is the only mode ftace 
currently offers. What happens when your writer starts overwriting the 
ring buffer and there is no reader?

What happens is that the start value is gone. You do not have a way to use 
all the deltas to catch up to the remaining events.

-- Steve
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[RFC PATCH 1/2 v2] Unified trace buffer, Steven Rostedt, (Thu Sep 25, 8:58 am)
Re: [RFC PATCH 1/2 v2] Unified trace buffer, Linus Torvalds, (Thu Sep 25, 10:02 am)
Re: [RFC PATCH 1/2 v2] Unified trace buffer, Steven Rostedt, (Thu Sep 25, 10:16 am)
Re: [RFC PATCH 1/2 v2] Unified trace buffer, Linus Torvalds, (Thu Sep 25, 10:25 am)
Re: [RFC PATCH 1/2 v2] Unified trace buffer, Mathieu Desnoyers, (Thu Sep 25, 10:35 am)
Re: [RFC PATCH 1/2 v2] Unified trace buffer, Steven Rostedt, (Thu Sep 25, 10:46 am)
Re: [RFC PATCH 1/2 v2] Unified trace buffer, Steven Rostedt, (Thu Sep 25, 10:48 am)
Re: [RFC PATCH 1/2 v2] Unified trace buffer, Mathieu Desnoyers, (Thu Sep 25, 11:25 am)