aboutsummaryrefslogtreecommitdiffstats
path: root/arch/Kconfig
diff options
context:
space:
mode:
Diffstat (limited to 'arch/Kconfig')
-rw-r--r--arch/Kconfig14
1 files changed, 14 insertions, 0 deletions
diff --git a/arch/Kconfig b/arch/Kconfig
index 53d7f619a1b..8bf0fa652eb 100644
--- a/arch/Kconfig
+++ b/arch/Kconfig
@@ -42,6 +42,20 @@ config KPROBES
42 for kernel debugging, non-intrusive instrumentation and testing. 42 for kernel debugging, non-intrusive instrumentation and testing.
43 If in doubt, say "N". 43 If in doubt, say "N".
44 44
45config JUMP_LABEL
46 bool "Optimize trace point call sites"
47 depends on HAVE_ARCH_JUMP_LABEL
48 help
49 If it is detected that the compiler has support for "asm goto",
50 the kernel will compile trace point locations with just a
51 nop instruction. When trace points are enabled, the nop will
52 be converted to a jump to the trace function. This technique
53 lowers overhead and stress on the branch prediction of the
54 processor.
55
56 On i386, options added to the compiler flags may increase
57 the size of the kernel slightly.
58
45config OPTPROBES 59config OPTPROBES
46 def_bool y 60 def_bool y
47 depends on KPROBES && HAVE_OPTPROBES 61 depends on KPROBES && HAVE_OPTPROBES