• Masami Hiramatsu's avatar
    kprobes: Fix Kconfig dependency · 05ed160e
    Masami Hiramatsu authored
    Fix Kconfig dependency among Kprobes, optprobe and kallsyms.
    
    Kprobes uses kallsyms_lookup for finding target function and
    checking instruction boundary, thus CONFIG_KPROBES should select
    CONFIG_KALLSYMS.
    
    Optprobe is an optional feature which is supported on x86 arch,
    and it also uses kallsyms_lookup for checking instructions in
    the target function. Since KALLSYMS_ALL just adds symbols of
    kernel variables, it doesn't need to select KALLSYMS_ALL.
    Signed-off-by: default avatarMasami Hiramatsu <masami.hiramatsu.pt@hitachi.com>
    Acked-by: Randy Dunlap <randy.dunlap@oracle.com>,
    Cc: Ananth N Mavinakayanahalli <ananth@in.ibm.com>
    Cc: Felipe Contreras <felipe.contreras@gmail.com>
    Cc: Randy Dunlap <randy.dunlap@oracle.com>
    Cc: Ananth N Mavinakayanahalli <ananth@in.ibm.com>
    Cc: Anil S Keshavamurthy <anil.s.keshavamurthy@intel.com>
    Cc: David S. Miller <davem@davemloft.net>
    Cc: akpm <akpm@linux-foundation.org>
    LKML-Reference: <20100913102541.20260.85700.stgit@ltc236.sdl.hitachi.co.jp>
    Signed-off-by: default avatarIngo Molnar <mingo@elte.hu>
    05ed160e
Kconfig 4.24 KB