diff options
Diffstat (limited to 'arch/Kconfig')
| -rw-r--r-- | arch/Kconfig | 20 |
1 files changed, 13 insertions, 7 deletions
diff --git a/arch/Kconfig b/arch/Kconfig index e5eb1337a537..acda512da2e2 100644 --- a/arch/Kconfig +++ b/arch/Kconfig | |||
| @@ -42,15 +42,10 @@ config KPROBES | |||
| 42 | If in doubt, say "N". | 42 | If in doubt, say "N". |
| 43 | 43 | ||
| 44 | config OPTPROBES | 44 | config OPTPROBES |
| 45 | bool "Kprobes jump optimization support (EXPERIMENTAL)" | 45 | def_bool y |
| 46 | default y | 46 | depends on KPROBES && HAVE_OPTPROBES |
| 47 | depends on KPROBES | ||
| 48 | depends on !PREEMPT | 47 | depends on !PREEMPT |
| 49 | depends on HAVE_OPTPROBES | ||
| 50 | select KALLSYMS_ALL | 48 | select KALLSYMS_ALL |
| 51 | help | ||
| 52 | This option will allow kprobes to optimize breakpoint to | ||
| 53 | a jump for reducing its overhead. | ||
| 54 | 49 | ||
| 55 | config HAVE_EFFICIENT_UNALIGNED_ACCESS | 50 | config HAVE_EFFICIENT_UNALIGNED_ACCESS |
| 56 | bool | 51 | bool |
| @@ -142,6 +137,17 @@ config HAVE_HW_BREAKPOINT | |||
| 142 | bool | 137 | bool |
| 143 | depends on PERF_EVENTS | 138 | depends on PERF_EVENTS |
| 144 | 139 | ||
| 140 | config HAVE_MIXED_BREAKPOINTS_REGS | ||
| 141 | bool | ||
| 142 | depends on HAVE_HW_BREAKPOINT | ||
| 143 | help | ||
| 144 | Depending on the arch implementation of hardware breakpoints, | ||
| 145 | some of them have separate registers for data and instruction | ||
| 146 | breakpoints addresses, others have mixed registers to store | ||
| 147 | them but define the access type in a control register. | ||
| 148 | Select this option if your arch implements breakpoints under the | ||
| 149 | latter fashion. | ||
| 150 | |||
| 145 | config HAVE_USER_RETURN_NOTIFIER | 151 | config HAVE_USER_RETURN_NOTIFIER |
| 146 | bool | 152 | bool |
| 147 | 153 | ||
