]> Pileus Git - ~andy/linux/commitdiff
perf: Remove PERF_COUNTERS config option
authorRobert Richter <robert.richter@amd.com>
Thu, 5 Apr 2012 16:24:44 +0000 (18:24 +0200)
committerIngo Molnar <mingo@kernel.org>
Thu, 26 Apr 2012 11:52:52 +0000 (13:52 +0200)
Renaming remaining PERF_COUNTERS options into PERF_EVENTS.

Think we can get rid of PERF_COUNTERS now.

Signed-off-by: Robert Richter <robert.richter@amd.com>
Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl>
Link: http://lkml.kernel.org/r/1333643084-26776-5-git-send-email-robert.richter@amd.com
Signed-off-by: Ingo Molnar <mingo@kernel.org>
arch/arm/configs/bcmring_defconfig
arch/powerpc/configs/chroma_defconfig
arch/powerpc/configs/gamecube_defconfig
arch/powerpc/configs/wii_defconfig
arch/sh/configs/sh7785lcr_32bit_defconfig
arch/sparc/configs/sparc64_defconfig
init/Kconfig

index 795374d48f817e51cc701f99e7f5cb31b415f101..9e6a8fe13164a2f23cc6aabcd6bf4193bc5fe8f3 100644 (file)
@@ -11,7 +11,7 @@ CONFIG_KALLSYMS_EXTRA_PASS=y
 # CONFIG_TIMERFD is not set
 # CONFIG_EVENTFD is not set
 # CONFIG_AIO is not set
-CONFIG_PERF_COUNTERS=y
+CONFIG_PERF_EVENTS=y
 # CONFIG_VM_EVENT_COUNTERS is not set
 # CONFIG_SLUB_DEBUG is not set
 # CONFIG_COMPAT_BRK is not set
index f104ccde6b535903a2b4c7aa40137a4894167372..b1f9597fe312305e40b676d9f8bf3288ecffe49f 100644 (file)
@@ -32,7 +32,7 @@ CONFIG_RD_LZMA=y
 CONFIG_INITRAMFS_COMPRESSION_GZIP=y
 CONFIG_KALLSYMS_ALL=y
 CONFIG_EMBEDDED=y
-CONFIG_PERF_COUNTERS=y
+CONFIG_PERF_EVENTS=y
 CONFIG_PROFILING=y
 CONFIG_OPROFILE=y
 CONFIG_KPROBES=y
index e74d3a48370570c4dcc15351ab335ee9b7220e45..9ef2cc13e1b48c84e2b2acbffb3f54054fa97b5a 100644 (file)
@@ -8,7 +8,7 @@ CONFIG_BLK_DEV_INITRD=y
 # CONFIG_CC_OPTIMIZE_FOR_SIZE is not set
 CONFIG_EXPERT=y
 # CONFIG_ELF_CORE is not set
-CONFIG_PERF_COUNTERS=y
+CONFIG_PERF_EVENTS=y
 # CONFIG_VM_EVENT_COUNTERS is not set
 CONFIG_SLAB=y
 CONFIG_MODULES=y
index 175295fbf4f35b87c0649c37d1da95a9a82799d8..1e2b7d062aa42c49bfde37208705eb29bb1f9451 100644 (file)
@@ -9,7 +9,7 @@ CONFIG_BLK_DEV_INITRD=y
 # CONFIG_CC_OPTIMIZE_FOR_SIZE is not set
 CONFIG_EXPERT=y
 # CONFIG_ELF_CORE is not set
-CONFIG_PERF_COUNTERS=y
+CONFIG_PERF_EVENTS=y
 # CONFIG_VM_EVENT_COUNTERS is not set
 CONFIG_SLAB=y
 CONFIG_MODULES=y
index 7b9c696ac5e0f22df273c174f0299127cf992dca..9bdcf72ec06adea46e83da8952d0d70be19f61be 100644 (file)
@@ -5,7 +5,7 @@ CONFIG_BSD_PROCESS_ACCT=y
 CONFIG_IKCONFIG=y
 CONFIG_IKCONFIG_PROC=y
 CONFIG_LOG_BUF_SHIFT=16
-CONFIG_PERF_COUNTERS=y
+CONFIG_PERF_EVENTS=y
 # CONFIG_COMPAT_BRK is not set
 CONFIG_SLAB=y
 CONFIG_PROFILING=y
index 3c1e85807403819d814f7495bef78d30a4cab0e7..9d8521b8c854e97dbc922092bb7472a35e0a725c 100644 (file)
@@ -5,7 +5,7 @@ CONFIG_SYSVIPC=y
 CONFIG_POSIX_MQUEUE=y
 CONFIG_LOG_BUF_SHIFT=18
 CONFIG_BLK_DEV_INITRD=y
-CONFIG_PERF_COUNTERS=y
+CONFIG_PERF_EVENTS=y
 # CONFIG_COMPAT_BRK is not set
 CONFIG_SLAB=y
 CONFIG_PROFILING=y
index 6cfd71d064637a0335677e7e2f7d73d941c50fe4..7e3713519b0ef80f42d65b901d41261292eeb41d 100644 (file)
@@ -1156,7 +1156,7 @@ menu "Kernel Performance Events And Counters"
 
 config PERF_EVENTS
        bool "Kernel performance events and counters"
-       default y if (PROFILING || PERF_COUNTERS)
+       default y if PROFILING
        depends on HAVE_PERF_EVENTS
        select ANON_INODES
        select IRQ_WORK
@@ -1183,18 +1183,6 @@ config PERF_EVENTS
 
          Say Y if unsure.
 
-config PERF_COUNTERS
-       bool "Kernel performance counters (old config option)"
-       depends on HAVE_PERF_EVENTS
-       help
-         This config has been obsoleted by the PERF_EVENTS
-         config option - please see that one for details.
-
-         It has no effect on the kernel whether you enable
-         it or not, it is a compatibility placeholder.
-
-         Say N if unsure.
-
 config DEBUG_PERF_USE_VMALLOC
        default n
        bool "Debug: use vmalloc to back perf mmap() buffers"