]> www.infradead.org Git - users/jedix/linux-maple.git/commitdiff
dtrace: CONFIG_DTRACE should depend on CONFIG_UPROBES
authorNick Alcock <nick.alcock@oracle.com>
Mon, 29 Jul 2013 14:36:54 +0000 (15:36 +0100)
committerNick Alcock <nick.alcock@oracle.com>
Tue, 21 Jul 2015 14:29:00 +0000 (15:29 +0100)
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 <nick.alcock@oracle.com>
kernel/dtrace/Kconfig

index a9c352f15cdd63443f93438b6deb6b1605948c5d..45499d970baa7969912ef17122a661891a7cb471 100644 (file)
@@ -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)