Kconfig (e87a3dd33eab30b4db539500064a9584867e4f2c) Kconfig (dd77038d233d106f297b907bf51459dfb1099eb1)
1config ARCH
2 string
3 option env="ARCH"
4
5config KERNELVERSION
6 string
7 option env="KERNELVERSION"
8

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

916 by some high performance threaded applications. Disabling
917 this option saves about 7k.
918
919config HAVE_PERF_EVENTS
920 bool
921 help
922 See tools/perf/design.txt for details.
923
1config ARCH
2 string
3 option env="ARCH"
4
5config KERNELVERSION
6 string
7 option env="KERNELVERSION"
8

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

916 by some high performance threaded applications. Disabling
917 this option saves about 7k.
918
919config HAVE_PERF_EVENTS
920 bool
921 help
922 See tools/perf/design.txt for details.
923
924config PERF_USE_VMALLOC
925 bool
926 help
927 See tools/perf/design.txt for details
928
924menu "Kernel Performance Events And Counters"
925
926config PERF_EVENTS
927 bool "Kernel performance events and counters"
928 default y if (PROFILING || PERF_COUNTERS)
929 depends on HAVE_PERF_EVENTS
930 select ANON_INODES
931 help
932 Enable kernel support for various performance events provided
933 by software and hardware.
934
929menu "Kernel Performance Events And Counters"
930
931config PERF_EVENTS
932 bool "Kernel performance events and counters"
933 default y if (PROFILING || PERF_COUNTERS)
934 depends on HAVE_PERF_EVENTS
935 select ANON_INODES
936 help
937 Enable kernel support for various performance events provided
938 by software and hardware.
939
935 Software events are supported either build-in or via the
940 Software events are supported either built-in or via the
936 use of generic tracepoints.
937
938 Most modern CPUs support performance events via performance
939 counter registers. These registers count the number of certain
940 types of hw events: such as instructions executed, cachemisses
941 suffered, or branches mis-predicted - without slowing down the
942 kernel or applications. These registers can also trigger interrupts
943 when a threshold number of events have passed - and can thus be
944 used to profile the code that runs on that CPU.
945
946 The Linux Performance Event subsystem provides an abstraction of
941 use of generic tracepoints.
942
943 Most modern CPUs support performance events via performance
944 counter registers. These registers count the number of certain
945 types of hw events: such as instructions executed, cachemisses
946 suffered, or branches mis-predicted - without slowing down the
947 kernel or applications. These registers can also trigger interrupts
948 when a threshold number of events have passed - and can thus be
949 used to profile the code that runs on that CPU.
950
951 The Linux Performance Event subsystem provides an abstraction of
947 these software and hardware cevent apabilities, available via a
952 these software and hardware event capabilities, available via a
948 system call and used by the "perf" utility in tools/perf/. It
949 provides per task and per CPU counters, and it provides event
950 capabilities on top of those.
951
952 Say Y if unsure.
953
954config EVENT_PROFILE
955 bool "Tracepoint profiling sources"

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

971 This config has been obsoleted by the PERF_EVENTS
972 config option - please see that one for details.
973
974 It has no effect on the kernel whether you enable
975 it or not, it is a compatibility placeholder.
976
977 Say N if unsure.
978
953 system call and used by the "perf" utility in tools/perf/. It
954 provides per task and per CPU counters, and it provides event
955 capabilities on top of those.
956
957 Say Y if unsure.
958
959config EVENT_PROFILE
960 bool "Tracepoint profiling sources"

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

976 This config has been obsoleted by the PERF_EVENTS
977 config option - please see that one for details.
978
979 It has no effect on the kernel whether you enable
980 it or not, it is a compatibility placeholder.
981
982 Say N if unsure.
983
984config DEBUG_PERF_USE_VMALLOC
985 default n
986 bool "Debug: use vmalloc to back perf mmap() buffers"
987 depends on PERF_EVENTS && DEBUG_KERNEL
988 select PERF_USE_VMALLOC
989 help
990 Use vmalloc memory to back perf mmap() buffers.
991
992 Mostly useful for debugging the vmalloc code on platforms
993 that don't require it.
994
995 Say N if unsure.
996
979endmenu
980
981config VM_EVENT_COUNTERS
982 default y
983 bool "Enable VM event counters for /proc/vmstat" if EMBEDDED
984 help
985 VM event counters are needed for event counts to be shown.
986 This option allows the disabling of the VM event counters

--- 208 unchanged lines hidden ---
997endmenu
998
999config VM_EVENT_COUNTERS
1000 default y
1001 bool "Enable VM event counters for /proc/vmstat" if EMBEDDED
1002 help
1003 VM event counters are needed for event counts to be shown.
1004 This option allows the disabling of the VM event counters

--- 208 unchanged lines hidden ---