diff options
Diffstat (limited to 'init/Kconfig')
-rw-r--r-- | init/Kconfig | 68 |
1 files changed, 55 insertions, 13 deletions
diff --git a/init/Kconfig b/init/Kconfig index 7be4d3836745..1ce05a4cb5f6 100644 --- a/init/Kconfig +++ b/init/Kconfig | |||
@@ -16,6 +16,11 @@ config DEFCONFIG_LIST | |||
16 | default "$ARCH_DEFCONFIG" | 16 | default "$ARCH_DEFCONFIG" |
17 | default "arch/$ARCH/defconfig" | 17 | default "arch/$ARCH/defconfig" |
18 | 18 | ||
19 | config CONSTRUCTORS | ||
20 | bool | ||
21 | depends on !UML | ||
22 | default y | ||
23 | |||
19 | menu "General setup" | 24 | menu "General setup" |
20 | 25 | ||
21 | config EXPERIMENTAL | 26 | config EXPERIMENTAL |
@@ -302,13 +307,14 @@ config AUDITSYSCALL | |||
302 | 307 | ||
303 | config AUDIT_TREE | 308 | config AUDIT_TREE |
304 | def_bool y | 309 | def_bool y |
305 | depends on AUDITSYSCALL && INOTIFY | 310 | depends on AUDITSYSCALL |
311 | select INOTIFY | ||
306 | 312 | ||
307 | menu "RCU Subsystem" | 313 | menu "RCU Subsystem" |
308 | 314 | ||
309 | choice | 315 | choice |
310 | prompt "RCU Implementation" | 316 | prompt "RCU Implementation" |
311 | default CLASSIC_RCU | 317 | default TREE_RCU |
312 | 318 | ||
313 | config CLASSIC_RCU | 319 | config CLASSIC_RCU |
314 | bool "Classic RCU" | 320 | bool "Classic RCU" |
@@ -615,13 +621,13 @@ config SYSFS_DEPRECATED | |||
615 | bool | 621 | bool |
616 | 622 | ||
617 | config SYSFS_DEPRECATED_V2 | 623 | config SYSFS_DEPRECATED_V2 |
618 | bool "Create deprecated sysfs layout for older userspace tools" | 624 | bool "remove sysfs features which may confuse old userspace tools" |
619 | depends on SYSFS | 625 | depends on SYSFS |
620 | default y | 626 | default n |
621 | select SYSFS_DEPRECATED | 627 | select SYSFS_DEPRECATED |
622 | help | 628 | help |
623 | This option switches the layout of sysfs to the deprecated | 629 | This option switches the layout of sysfs to the deprecated |
624 | version. | 630 | version. Do not use it on recent distributions. |
625 | 631 | ||
626 | The current sysfs layout features a unified device tree at | 632 | The current sysfs layout features a unified device tree at |
627 | /sys/devices/, which is able to express a hierarchy between | 633 | /sys/devices/, which is able to express a hierarchy between |
@@ -808,14 +814,6 @@ config KALLSYMS_EXTRA_PASS | |||
808 | you wait for kallsyms to be fixed. | 814 | you wait for kallsyms to be fixed. |
809 | 815 | ||
810 | 816 | ||
811 | config STRIP_ASM_SYMS | ||
812 | bool "Strip assembler-generated symbols during link" | ||
813 | default n | ||
814 | help | ||
815 | Strip internal assembler-generated symbols during a link (symbols | ||
816 | that look like '.Lxxx') so they don't pollute the output of | ||
817 | get_wchan() and suchlike. | ||
818 | |||
819 | config HOTPLUG | 817 | config HOTPLUG |
820 | bool "Support for hot-pluggable devices" if EMBEDDED | 818 | bool "Support for hot-pluggable devices" if EMBEDDED |
821 | default y | 819 | default y |
@@ -933,6 +931,42 @@ config AIO | |||
933 | by some high performance threaded applications. Disabling | 931 | by some high performance threaded applications. Disabling |
934 | this option saves about 7k. | 932 | this option saves about 7k. |
935 | 933 | ||
934 | config HAVE_PERF_COUNTERS | ||
935 | bool | ||
936 | help | ||
937 | See tools/perf/design.txt for details. | ||
938 | |||
939 | menu "Performance Counters" | ||
940 | |||
941 | config PERF_COUNTERS | ||
942 | bool "Kernel Performance Counters" | ||
943 | depends on HAVE_PERF_COUNTERS | ||
944 | select ANON_INODES | ||
945 | help | ||
946 | Enable kernel support for performance counter hardware. | ||
947 | |||
948 | Performance counters are special hardware registers available | ||
949 | on most modern CPUs. These registers count the number of certain | ||
950 | types of hw events: such as instructions executed, cachemisses | ||
951 | suffered, or branches mis-predicted - without slowing down the | ||
952 | kernel or applications. These registers can also trigger interrupts | ||
953 | when a threshold number of events have passed - and can thus be | ||
954 | used to profile the code that runs on that CPU. | ||
955 | |||
956 | The Linux Performance Counter subsystem provides an abstraction of | ||
957 | these hardware capabilities, available via a system call. It | ||
958 | provides per task and per CPU counters, and it provides event | ||
959 | capabilities on top of those. | ||
960 | |||
961 | Say Y if unsure. | ||
962 | |||
963 | config EVENT_PROFILE | ||
964 | bool "Tracepoint profile sources" | ||
965 | depends on PERF_COUNTERS && EVENT_TRACER | ||
966 | default y | ||
967 | |||
968 | endmenu | ||
969 | |||
936 | config VM_EVENT_COUNTERS | 970 | config VM_EVENT_COUNTERS |
937 | default y | 971 | default y |
938 | bool "Enable VM event counters for /proc/vmstat" if EMBEDDED | 972 | bool "Enable VM event counters for /proc/vmstat" if EMBEDDED |
@@ -961,6 +995,14 @@ config SLUB_DEBUG | |||
961 | SLUB sysfs support. /sys/slab will not exist and there will be | 995 | SLUB sysfs support. /sys/slab will not exist and there will be |
962 | no support for cache validation etc. | 996 | no support for cache validation etc. |
963 | 997 | ||
998 | config STRIP_ASM_SYMS | ||
999 | bool "Strip assembler-generated symbols during link" | ||
1000 | default n | ||
1001 | help | ||
1002 | Strip internal assembler-generated symbols during a link (symbols | ||
1003 | that look like '.Lxxx') so they don't pollute the output of | ||
1004 | get_wchan() and suchlike. | ||
1005 | |||
964 | config COMPAT_BRK | 1006 | config COMPAT_BRK |
965 | bool "Disable heap randomization" | 1007 | bool "Disable heap randomization" |
966 | default y | 1008 | default y |