trace: Stop compiling in trace_clock unconditionally
[linux-2.6-block.git] / kernel / trace / Kconfig
index 9301a0e35e0cf857af0664cfc16951d8125e0b0e..4cea4f41c1d9ed73eb56dcbcffe2ac427534b5a2 100644 (file)
@@ -62,8 +62,12 @@ config HAVE_C_RECORDMCOUNT
 config TRACER_MAX_TRACE
        bool
 
+config TRACE_CLOCK
+       bool
+
 config RING_BUFFER
        bool
+       select TRACE_CLOCK
 
 config FTRACE_NMI_ENTER
        bool
@@ -114,6 +118,7 @@ config TRACING
        select NOP_TRACER
        select BINARY_PRINTF
        select EVENT_TRACING
+       select TRACE_CLOCK
 
 config GENERIC_TRACER
        bool