lkml.org 
[lkml]   [2009]   [Sep]   [25]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    Date
    From
    Subject[PATCH -next] drbd: trace depends on TRACING
    From: Randy Dunlap <randy.dunlap@oracle.com>

    DRBD_TRACE should depend on TRACING.
    It's also possible that TRACEPOINTS should depend on TRACING.

    arch/x86/built-in.o: In function `default_idle':
    (.text+0x145a1): undefined reference to `__tracepoint_power_start'
    arch/x86/built-in.o: In function `default_idle':
    (.text+0x145d4): undefined reference to `__tracepoint_power_start'
    arch/x86/built-in.o: In function `mwait_idle_with_hints':
    (.text+0x1583d): undefined reference to `__tracepoint_power_start'
    arch/x86/built-in.o: In function `mwait_idle_with_hints':
    (.text+0x15870): undefined reference to `__tracepoint_power_start'
    arch/x86/built-in.o: In function `mwait_idle':
    process.c:(.text+0x15b92): undefined reference to `__tracepoint_power_start'
    arch/x86/built-in.o:process.c:(.text+0x15bbe): more undefined references to `__tracepoint_power_start' follow
    arch/x86/built-in.o: In function `poll_idle':
    process.c:(.text+0x160bd): undefined reference to `__tracepoint_power_end'
    process.c:(.text+0x160e9): undefined reference to `__tracepoint_power_end'
    drivers/built-in.o: In function `cpuidle_idle_call':
    cpuidle.c:(.text+0x517f16): undefined reference to `__tracepoint_power_end'
    cpuidle.c:(.text+0x517f49): undefined reference to `__tracepoint_power_end'

    Signed-off-by: Randy Dunlap <randy.dunlap@oracle.com>
    ---
    drivers/block/drbd/Kconfig | 2 +-
    1 file changed, 1 insertion(+), 1 deletion(-)

    --- linux-next-20090925.orig/drivers/block/drbd/Kconfig
    +++ linux-next-20090925/drivers/block/drbd/Kconfig
    @@ -40,7 +40,7 @@ config BLK_DEV_DRBD

    config DRBD_TRACE
    tristate "DRBD tracing"
    - depends on BLK_DEV_DRBD
    + depends on BLK_DEV_DRBD && TRACING
    select TRACEPOINTS
    default n
    help

    \
     
     \ /
      Last update: 2009-09-26 01:05    [W:0.021 / U:30.192 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site