Messages in this thread | | | Date | Thu, 2 Apr 2009 03:58:30 +0200 | From | Ingo Molnar <> | Subject | Re: [PATCH] tracing/filters: add run-time field descriptions to TRACE_EVENT_FORMAT events |
| |
* Steven Rostedt <rostedt@goodmis.org> wrote:
> Now what I could do, is to add a cmpxchg. If there's no data after > the data that we want to discard, then we discard it. Note, this > can only happen before the commit is made. > > I'll see if I can implement that.
Great!
I dont think the IRQ race is a common one even with a lot of IRQs, so as long as the common case is fine and we let a few holes slip through it should be fine.
[ If the IRQ race window is wide then that's a sign of us having too much tracing overhead ;-) ]
Ingo
| |