• P
    ring-buffer: Make it generally available · 1155de47
    Paul Mundt 提交于
    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: NPaul 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: NIngo Molnar <mingo@elte.hu>
    1155de47
ring_buffer.c 79.0 KB