aboutsummaryrefslogtreecommitdiffstats
path: root/arch/Kconfig
diff options
context:
space:
mode:
Diffstat (limited to 'arch/Kconfig')
-rw-r--r--arch/Kconfig13
1 files changed, 13 insertions, 0 deletions
diff --git a/arch/Kconfig b/arch/Kconfig
index 9d055b4f0585..e0ad3caf16d9 100644
--- a/arch/Kconfig
+++ b/arch/Kconfig
@@ -57,6 +57,17 @@ config KPROBES
57 for kernel debugging, non-intrusive instrumentation and testing. 57 for kernel debugging, non-intrusive instrumentation and testing.
58 If in doubt, say "N". 58 If in doubt, say "N".
59 59
60config OPTPROBES
61 bool "Kprobes jump optimization support (EXPERIMENTAL)"
62 default y
63 depends on KPROBES
64 depends on !PREEMPT
65 depends on HAVE_OPTPROBES
66 select KALLSYMS_ALL
67 help
68 This option will allow kprobes to optimize breakpoint to
69 a jump for reducing its overhead.
70
60config HAVE_EFFICIENT_UNALIGNED_ACCESS 71config HAVE_EFFICIENT_UNALIGNED_ACCESS
61 bool 72 bool
62 help 73 help
@@ -99,6 +110,8 @@ config HAVE_KPROBES
99config HAVE_KRETPROBES 110config HAVE_KRETPROBES
100 bool 111 bool
101 112
113config HAVE_OPTPROBES
114 bool
102# 115#
103# An arch should select this if it provides all these things: 116# An arch should select this if it provides all these things:
104# 117#