Commit [05ed16] Maximize Restore History

kprobes: Fix Kconfig dependency

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

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: Masami Hiramatsu <>
Acked-by: Randy Dunlap <>,
Cc: Ananth N Mavinakayanahalli <>
Cc: Felipe Contreras <>
Cc: Randy Dunlap <>
Cc: Ananth N Mavinakayanahalli <>
Cc: Anil S Keshavamurthy <>
Cc: David S. Miller <>
Cc: akpm <>
LKML-Reference: <>
Signed-off-by: Ingo Molnar <>

Masami Hiramatsu Masami Hiramatsu 2010-09-13

Ingo Molnar Ingo Molnar 2010-09-13

changed arch
changed arch/Kconfig
arch/Kconfig Diff Switch to side-by-side view