diff options
Diffstat (limited to 'arch/Kconfig')
-rw-r--r-- | arch/Kconfig | 53 |
1 files changed, 36 insertions, 17 deletions
diff --git a/arch/Kconfig b/arch/Kconfig index 7f418bbc261a..e5eb1337a537 100644 --- a/arch/Kconfig +++ b/arch/Kconfig | |||
@@ -3,11 +3,9 @@ | |||
3 | # | 3 | # |
4 | 4 | ||
5 | config OPROFILE | 5 | config OPROFILE |
6 | tristate "OProfile system profiling (EXPERIMENTAL)" | 6 | tristate "OProfile system profiling" |
7 | depends on PROFILING | 7 | depends on PROFILING |
8 | depends on HAVE_OPROFILE | 8 | depends on HAVE_OPROFILE |
9 | depends on TRACING_SUPPORT | ||
10 | select TRACING | ||
11 | select RING_BUFFER | 9 | select RING_BUFFER |
12 | select RING_BUFFER_ALLOW_SWAP | 10 | select RING_BUFFER_ALLOW_SWAP |
13 | help | 11 | help |
@@ -17,20 +15,6 @@ config OPROFILE | |||
17 | 15 | ||
18 | If unsure, say N. | 16 | If unsure, say N. |
19 | 17 | ||
20 | config OPROFILE_IBS | ||
21 | bool "OProfile AMD IBS support (EXPERIMENTAL)" | ||
22 | default n | ||
23 | depends on OPROFILE && SMP && X86 | ||
24 | help | ||
25 | Instruction-Based Sampling (IBS) is a new profiling | ||
26 | technique that provides rich, precise program performance | ||
27 | information. IBS is introduced by AMD Family10h processors | ||
28 | (AMD Opteron Quad-Core processor "Barcelona") to overcome | ||
29 | the limitations of conventional performance counter | ||
30 | sampling. | ||
31 | |||
32 | If unsure, say N. | ||
33 | |||
34 | config OPROFILE_EVENT_MULTIPLEX | 18 | config OPROFILE_EVENT_MULTIPLEX |
35 | bool "OProfile multiplexing support (EXPERIMENTAL)" | 19 | bool "OProfile multiplexing support (EXPERIMENTAL)" |
36 | default n | 20 | default n |
@@ -57,6 +41,17 @@ config KPROBES | |||
57 | for kernel debugging, non-intrusive instrumentation and testing. | 41 | for kernel debugging, non-intrusive instrumentation and testing. |
58 | If in doubt, say "N". | 42 | If in doubt, say "N". |
59 | 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 | |||
60 | config HAVE_EFFICIENT_UNALIGNED_ACCESS | 55 | config HAVE_EFFICIENT_UNALIGNED_ACCESS |
61 | bool | 56 | bool |
62 | help | 57 | help |
@@ -83,6 +78,13 @@ config KRETPROBES | |||
83 | def_bool y | 78 | def_bool y |
84 | depends on KPROBES && HAVE_KRETPROBES | 79 | depends on KPROBES && HAVE_KRETPROBES |
85 | 80 | ||
81 | config USER_RETURN_NOTIFIER | ||
82 | bool | ||
83 | depends on HAVE_USER_RETURN_NOTIFIER | ||
84 | help | ||
85 | Provide a kernel-internal notification when a cpu is about to | ||
86 | switch to user mode. | ||
87 | |||
86 | config HAVE_IOREMAP_PROT | 88 | config HAVE_IOREMAP_PROT |
87 | bool | 89 | bool |
88 | 90 | ||
@@ -92,6 +94,8 @@ config HAVE_KPROBES | |||
92 | config HAVE_KRETPROBES | 94 | config HAVE_KRETPROBES |
93 | bool | 95 | bool |
94 | 96 | ||
97 | config HAVE_OPTPROBES | ||
98 | bool | ||
95 | # | 99 | # |
96 | # An arch should select this if it provides all these things: | 100 | # An arch should select this if it provides all these things: |
97 | # | 101 | # |
@@ -114,6 +118,14 @@ config HAVE_DMA_ATTRS | |||
114 | config USE_GENERIC_SMP_HELPERS | 118 | config USE_GENERIC_SMP_HELPERS |
115 | bool | 119 | bool |
116 | 120 | ||
121 | config HAVE_REGS_AND_STACK_ACCESS_API | ||
122 | bool | ||
123 | help | ||
124 | This symbol should be selected by an architecure if it supports | ||
125 | the API needed to access registers and stack entries from pt_regs, | ||
126 | declared in asm/ptrace.h | ||
127 | For example the kprobes-based event tracer needs this API. | ||
128 | |||
117 | config HAVE_CLK | 129 | config HAVE_CLK |
118 | bool | 130 | bool |
119 | help | 131 | help |
@@ -126,4 +138,11 @@ config HAVE_DMA_API_DEBUG | |||
126 | config HAVE_DEFAULT_NO_SPIN_MUTEXES | 138 | config HAVE_DEFAULT_NO_SPIN_MUTEXES |
127 | bool | 139 | bool |
128 | 140 | ||
141 | config HAVE_HW_BREAKPOINT | ||
142 | bool | ||
143 | depends on PERF_EVENTS | ||
144 | |||
145 | config HAVE_USER_RETURN_NOTIFIER | ||
146 | bool | ||
147 | |||
129 | source "kernel/gcov/Kconfig" | 148 | source "kernel/gcov/Kconfig" |