X-Git-Url: http://pileus.org/git/?a=blobdiff_plain;f=arch%2FKconfig;h=e5eb1337a5377f5b131b2ba70efd8263b8057404;hb=d814c28ceca8f659c0012eaec8e21eee43710716;hp=215e46073c453d63a691b4fc02bde826a9d4ad50;hpb=0f4533979473a456a8adb3869365e12c7a99cf65;p=~andy%2Flinux diff --git a/arch/Kconfig b/arch/Kconfig index 215e46073c4..e5eb1337a53 100644 --- a/arch/Kconfig +++ b/arch/Kconfig @@ -41,6 +41,17 @@ config KPROBES for kernel debugging, non-intrusive instrumentation and testing. If in doubt, say "N". +config OPTPROBES + bool "Kprobes jump optimization support (EXPERIMENTAL)" + default y + depends on KPROBES + depends on !PREEMPT + depends on HAVE_OPTPROBES + select KALLSYMS_ALL + help + This option will allow kprobes to optimize breakpoint to + a jump for reducing its overhead. + config HAVE_EFFICIENT_UNALIGNED_ACCESS bool help @@ -83,6 +94,8 @@ config HAVE_KPROBES config HAVE_KRETPROBES bool +config HAVE_OPTPROBES + bool # # An arch should select this if it provides all these things: #