diff options
Diffstat (limited to 'arch/Kconfig')
-rw-r--r-- | arch/Kconfig | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/arch/Kconfig b/arch/Kconfig index 215e46073c45..e5eb1337a537 100644 --- a/arch/Kconfig +++ b/arch/Kconfig | |||
@@ -41,6 +41,17 @@ config KPROBES | |||
41 | for kernel debugging, non-intrusive instrumentation and testing. | 41 | for kernel debugging, non-intrusive instrumentation and testing. |
42 | If in doubt, say "N". | 42 | If in doubt, say "N". |
43 | 43 | ||
44 | config OPTPROBES | ||
45 | bool "Kprobes jump optimization support (EXPERIMENTAL)" | ||
46 | default y | ||
47 | depends on KPROBES | ||
48 | depends on !PREEMPT | ||
49 | depends on HAVE_OPTPROBES | ||
50 | select KALLSYMS_ALL | ||
51 | help | ||
52 | This option will allow kprobes to optimize breakpoint to | ||
53 | a jump for reducing its overhead. | ||
54 | |||
44 | config HAVE_EFFICIENT_UNALIGNED_ACCESS | 55 | config HAVE_EFFICIENT_UNALIGNED_ACCESS |
45 | bool | 56 | bool |
46 | help | 57 | help |
@@ -83,6 +94,8 @@ config HAVE_KPROBES | |||
83 | config HAVE_KRETPROBES | 94 | config HAVE_KRETPROBES |
84 | bool | 95 | bool |
85 | 96 | ||
97 | config HAVE_OPTPROBES | ||
98 | bool | ||
86 | # | 99 | # |
87 | # An arch should select this if it provides all these things: | 100 | # An arch should select this if it provides all these things: |
88 | # | 101 | # |