[Drbd-dev] [PATCH -next] drbd: trace depends on TRACING
philipp.reisner at linbit.com
Tue Sep 29 17:32:50 CEST 2009
On Saturday 26 September 2009 01:03:04 Randy Dunlap wrote:
> From: Randy Dunlap <randy.dunlap at oracle.com>
> DRBD_TRACE should depend on TRACING.
> It's also possible that TRACEPOINTS should depend on TRACING.
I tried to figure out in which way that should be done. By looking
at "BLK_DEV_IO_TRACE" I got the impression that this should
be done by adding "select GENERIC_TRACER".
I will further examine this tomorrow. I just wanted to let you know
that this did not fall off the table...
diff --git a/drivers/block/drbd/Kconfig b/drivers/block/drbd/Kconfig
index 4e6f90f..7b35287 100644
@@ -7,7 +7,7 @@ comment "DRBD disabled because PROC_FS, INET or CONNECTOR not
tristate "DRBD Distributed Replicated Block Device support"
- depends on PROC_FS && INET && CONNECTOR
+ depends on BLOCK && PROC_FS && INET && CONNECTOR
@@ -42,6 +42,7 @@ config DRBD_TRACE
tristate "DRBD tracing"
depends on BLK_DEV_DRBD
+ select GENERIC_TRACER
: Dipl-Ing Philipp Reisner
: LINBIT | Your Way to High Availability
: Tel: +43-1-8178292-50, Fax: +43-1-8178292-82
DRBD(R) and LINBIT(R) are registered trademarks of LINBIT, Austria.
More information about the drbd-dev