]> git.karo-electronics.de Git - linux-beck.git/commit
ring-buffer: Make it generally available
authorPaul Mundt <lethal@linux-sh.org>
Thu, 25 Jun 2009 05:30:12 +0000 (14:30 +0900)
committerIngo Molnar <mingo@elte.hu>
Thu, 25 Jun 2009 08:31:30 +0000 (10:31 +0200)
commit1155de47cd66d0c496d5a6fb2223e980ef1285b2
tree0ee762d6b1215a37fe89acc174de8cbbf476d218
parent00e54d087afb3867b0b461aef6c1ff433d0df564
ring-buffer: Make it generally available

In hunting down the cause for the hwlat_detector ring buffer spew in
my failed -next builds it became obvious that folks are now treating
ring_buffer as something that is generic independent of tracing and thus,
suitable for public driver consumption.

Given that there are only a few minor areas in ring_buffer that have any
reliance on CONFIG_TRACING or CONFIG_FUNCTION_TRACER, provide stubs for
those and make it generally available.

Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Cc: Jon Masters <jcm@jonmasters.org>
Cc: Steven Rostedt <rostedt@goodmis.org>
LKML-Reference: <20090625053012.GB19944@linux-sh.org>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
kernel/Makefile
kernel/trace/ring_buffer.c
kernel/trace/trace.h