X-Git-Url: http://ftp.safe.ca/?a=blobdiff_plain;f=arch%2FKconfig;h=e5eb1337a5377f5b131b2ba70efd8263b8057404;hb=4ac2a39767c2a93c06b654a0bf1c635e03ff75ac;hp=215e46073c453d63a691b4fc02bde826a9d4ad50;hpb=e0d272429a34ff143bfa04ee8e29dd4eed2964c7;p=safe%2Fjmp%2Flinux-2.6 diff --git a/arch/Kconfig b/arch/Kconfig index 215e460..e5eb133 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: #