LWN.net Logo

ftrace: port to the new ring_buffer

From:  Steven Rostedt <rostedt@goodmis.org>
To:  linux-kernel@vger.kernel.org
Subject:  [PATCH 0/6] ftrace: port to the new ring_buffer
Date:  Mon, 29 Sep 2008 23:02:36 -0400
Message-ID:  <20080930030236.230994826@goodmis.org>
Cc:  Ingo Molnar <mingo@elte.hu>, Thomas Gleixner <tglx@linutronix.de>, Peter Zijlstra <peterz@infradead.org>, Andrew Morton <akpm@linux-foundation.org>, Linus Torvalds <torvalds@linux-foundation.org>, Mathieu Desnoyers <compudj@krystal.dyndns.org>
Archive-link:  Article, Thread

These patches are against linux-tip.

The first is just a fix in the wakeup selftest.

The next is a port of the Unified tracer buffer to linux-tip and some updates.

After that is the ftrace port to use the ring buffer, followed by some
more enhancements to ftrace because of the new variable length
buffer.

I tried a few configurations and tried to test all the different ftrace
tracers, but I'm sure there may be some bugs still to work out. I worked
out all those that I found.

But, with the ring_buffer I can envision several ways to clean up
ftrace and to make adding new tracers cleaner.

I'm also thinking about making a way that each tracer can allocate
its own buffer, and allow for more than one tracer to be running
at the same time! (only with different buffers).

-- Steve


Copyright © 2008, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds