tracing/blktrace: move the tracing file to kernel/trace, fix
authorIngo Molnar <mingo@elte.hu>
Mon, 9 Feb 2009 11:06:54 +0000 (12:06 +0100)
committerIngo Molnar <mingo@elte.hu>
Mon, 9 Feb 2009 11:07:28 +0000 (12:07 +0100)
Impact: build fix

The BLK_DEV_IO_TRACE entry used to be in block/Kconfig - which
file itself was dependent on CONFIG_BLOCK. But now the entry is
in kernel/trace/Kconfig - which is present even on !CONFIG_BLOCK.

So add a 'depends on BLOCK' to BLK_DEV_IO_TRACE.

Signed-off-by: Ingo Molnar <mingo@elte.hu>
kernel/trace/Kconfig

index 4fee43c0194232c1409b626449460c80394cac9f..3a331289457ab85b601fa2e0c95d493bdfeee6b4 100644 (file)
@@ -305,6 +305,7 @@ config WORKQUEUE_TRACER
 config BLK_DEV_IO_TRACE
        bool "Support for tracing block io actions"
        depends on SYSFS
+       depends on BLOCK
        select RELAY
        select DEBUG_FS
        select TRACEPOINTS