From: Nick Alcock Date: Mon, 29 Jul 2013 14:36:54 +0000 (+0100) Subject: dtrace: CONFIG_DTRACE should depend on CONFIG_UPROBES X-Git-Tag: v4.1.12-92~313^2~72 X-Git-Url: https://www.infradead.org/git/?a=commitdiff_plain;h=19ba0ff33553cf31d892dc65f3d8a2d83c8def57;p=users%2Fjedix%2Flinux-maple.git dtrace: CONFIG_DTRACE should depend on CONFIG_UPROBES Since DTrace uses uprobes, it needs to select it, or we end up with most of uprobes not being compiled in. In this situation, you can still *try* to register a uprobe, but it will always fail. Signed-off-by: Nick Alcock --- diff --git a/kernel/dtrace/Kconfig b/kernel/dtrace/Kconfig index a9c352f15cdd..45499d970baa 100644 --- a/kernel/dtrace/Kconfig +++ b/kernel/dtrace/Kconfig @@ -9,6 +9,7 @@ menuconfig DTRACE depends on X86_64 && !DEBUG_LOCK_ALLOC select KALLSYMS select WAITFD + select UPROBES select CTF if (!DT_DISABLE_CTF) select STRIP_ASM_SYMS if (!DT_DISABLE_CTF) select DEBUG_INFO if (!DT_DISABLE_CTF)