Kconfig (2a7d2b96d5cba7568139d9ab157a0e97ab32440f) Kconfig (c19fa94a8fed72754e81800dfa14af6daaf6d331)
1#
2# General architecture dependent options
3#
4
5config OPROFILE
6 tristate "OProfile system profiling"
7 depends on PROFILING
8 depends on HAVE_OPROFILE

--- 62 unchanged lines hidden (view full) ---

71 ( On 32-bit x86, the necessary options added to the compiler
72 flags may increase the size of the kernel slightly. )
73
74config OPTPROBES
75 def_bool y
76 depends on KPROBES && HAVE_OPTPROBES
77 depends on !PREEMPT
78
1#
2# General architecture dependent options
3#
4
5config OPROFILE
6 tristate "OProfile system profiling"
7 depends on PROFILING
8 depends on HAVE_OPROFILE

--- 62 unchanged lines hidden (view full) ---

71 ( On 32-bit x86, the necessary options added to the compiler
72 flags may increase the size of the kernel slightly. )
73
74config OPTPROBES
75 def_bool y
76 depends on KPROBES && HAVE_OPTPROBES
77 depends on !PREEMPT
78
79config KPROBES_ON_FTRACE
80 def_bool y
81 depends on KPROBES && HAVE_KPROBES_ON_FTRACE
82 depends on DYNAMIC_FTRACE_WITH_REGS
83 help
84 If function tracer is enabled and the arch supports full
85 passing of pt_regs to function tracing, then kprobes can
86 optimize on top of function tracing.
87
88config UPROBES
89 bool "Transparent user-space probes (EXPERIMENTAL)"
90 depends on UPROBE_EVENT && PERF_EVENTS
91 default n
92 select PERCPU_RWSEM
93 help
94 Uprobes is the user-space counterpart to kprobes: they
95 enable instrumentation applications (such as 'perf probe')
96 to establish unintrusive probes in user-space binaries and
97 libraries, by executing handler functions when the probes
98 are hit by user-space applications.
99
100 ( These probes come in the form of single-byte breakpoints,
101 managed by the kernel and kept transparent to the probed
102 application. )
103
104 If in doubt, say "N".
105
79config UPROBES
80 bool "Transparent user-space probes (EXPERIMENTAL)"
81 depends on UPROBE_EVENT && PERF_EVENTS
82 default n
83 select PERCPU_RWSEM
84 help
85 Uprobes is the user-space counterpart to kprobes: they
86 enable instrumentation applications (such as 'perf probe')
87 to establish unintrusive probes in user-space binaries and
88 libraries, by executing handler functions when the probes
89 are hit by user-space applications.
90
91 ( These probes come in the form of single-byte breakpoints,
92 managed by the kernel and kept transparent to the probed
93 application. )
94
95 If in doubt, say "N".
96
97config HAVE_64BIT_ALIGNED_ACCESS
98 def_bool 64BIT && !HAVE_EFFICIENT_UNALIGNED_ACCESS
99 help
100 Some architectures require 64 bit accesses to be 64 bit
101 aligned, which also requires structs containing 64 bit values
102 to be 64 bit aligned too. This includes some 32 bit
103 architectures which can do 64 bit accesses, as well as 64 bit
104 architectures without unaligned access.
105
106 This symbol should be selected by an architecture if 64 bit
107 accesses are required to be 64 bit aligned in this way even
108 though it is not a 64 bit architecture.
109
110 See Documentation/unaligned-memory-access.txt for more
111 information on the topic of unaligned memory accesses.
112
106config HAVE_EFFICIENT_UNALIGNED_ACCESS
107 bool
108 help
109 Some architectures are unable to perform unaligned accesses
110 without the use of get_unaligned/put_unaligned. Others are
111 unable to perform such accesses efficiently (e.g. trap on
112 unaligned access and require fixing it up in the exception
113 handler.)

--- 48 unchanged lines hidden (view full) ---

162 bool
163
164config HAVE_KRETPROBES
165 bool
166
167config HAVE_OPTPROBES
168 bool
169
113config HAVE_EFFICIENT_UNALIGNED_ACCESS
114 bool
115 help
116 Some architectures are unable to perform unaligned accesses
117 without the use of get_unaligned/put_unaligned. Others are
118 unable to perform such accesses efficiently (e.g. trap on
119 unaligned access and require fixing it up in the exception
120 handler.)

--- 48 unchanged lines hidden (view full) ---

169 bool
170
171config HAVE_KRETPROBES
172 bool
173
174config HAVE_OPTPROBES
175 bool
176
170config HAVE_KPROBES_ON_FTRACE
171 bool
172
173config HAVE_NMI_WATCHDOG
174 bool
175#
176# An arch should select this if it provides all these things:
177#
178# task_pt_regs() in asm/processor.h or asm/ptrace.h
179# arch_has_single_step() if there is hardware single-step support
180# arch_has_block_step() if there is hardware block-step support

--- 117 unchanged lines hidden (view full) ---

298
299config ARCH_WANT_COMPAT_IPC_PARSE_VERSION
300 bool
301
302config ARCH_WANT_OLD_COMPAT_IPC
303 select ARCH_WANT_COMPAT_IPC_PARSE_VERSION
304 bool
305
177config HAVE_NMI_WATCHDOG
178 bool
179#
180# An arch should select this if it provides all these things:
181#
182# task_pt_regs() in asm/processor.h or asm/ptrace.h
183# arch_has_single_step() if there is hardware single-step support
184# arch_has_block_step() if there is hardware block-step support

--- 117 unchanged lines hidden (view full) ---

302
303config ARCH_WANT_COMPAT_IPC_PARSE_VERSION
304 bool
305
306config ARCH_WANT_OLD_COMPAT_IPC
307 select ARCH_WANT_COMPAT_IPC_PARSE_VERSION
308 bool
309
306config HAVE_VIRT_TO_BUS
307 bool
308 help
309 An architecture should select this if it implements the
310 deprecated interface virt_to_bus(). All new architectures
311 should probably not select this.
312
313config HAVE_ARCH_SECCOMP_FILTER
314 bool
315 help
316 An arch should select this symbol if it provides all of these things:
317 - syscall_get_arch()
318 - syscall_get_arguments()
319 - syscall_rollback()
320 - syscall_set_return_value()

--- 49 unchanged lines hidden (view full) ---

370 relocations will give an error.
371
372config MODULES_USE_ELF_REL
373 bool
374 help
375 Modules only use ELF REL relocations. Modules with ELF RELA
376 relocations will give an error.
377
310config HAVE_ARCH_SECCOMP_FILTER
311 bool
312 help
313 An arch should select this symbol if it provides all of these things:
314 - syscall_get_arch()
315 - syscall_get_arguments()
316 - syscall_rollback()
317 - syscall_set_return_value()

--- 49 unchanged lines hidden (view full) ---

367 relocations will give an error.
368
369config MODULES_USE_ELF_REL
370 bool
371 help
372 Modules only use ELF REL relocations. Modules with ELF RELA
373 relocations will give an error.
374
375config GENERIC_SIGALTSTACK
376 bool
377
378#
379# ABI hall of shame
380#
381config CLONE_BACKWARDS
382 bool
383 help
384 Architecture has tls passed as the 4th argument of clone(2),
385 not the 5th one.
386
387config CLONE_BACKWARDS2
388 bool
389 help
390 Architecture has the first two arguments of clone(2) swapped.
391
378#
379# ABI hall of shame
380#
381config CLONE_BACKWARDS
382 bool
383 help
384 Architecture has tls passed as the 4th argument of clone(2),
385 not the 5th one.
386
387config CLONE_BACKWARDS2
388 bool
389 help
390 Architecture has the first two arguments of clone(2) swapped.
391
392config ODD_RT_SIGACTION
393 bool
394 help
395 Architecture has unusual rt_sigaction(2) arguments
396
397config OLD_SIGSUSPEND
398 bool
399 help
400 Architecture has old sigsuspend(2) syscall, of one-argument variety
401
402config OLD_SIGSUSPEND3
403 bool
404 help
405 Even weirder antique ABI - three-argument sigsuspend(2)
406
407config OLD_SIGACTION
408 bool
409 help
410 Architecture has old sigaction(2) syscall. Nope, not the same
411 as OLD_SIGSUSPEND | OLD_SIGSUSPEND3 - alpha has sigsuspend(2),
412 but fairly different variant of sigaction(2), thanks to OSF/1
413 compatibility...
414
415config COMPAT_OLD_SIGACTION
416 bool
417
418source "kernel/gcov/Kconfig"
392source "kernel/gcov/Kconfig"