perf_counter: Set the CONFIG_PERF_COUNTERS default to y if CONFIG_PROFILING=y
authorIngo Molnar <mingo@elte.hu>
Mon, 29 Jun 2009 08:40:20 +0000 (10:40 +0200)
committerIngo Molnar <mingo@elte.hu>
Tue, 4 Aug 2009 16:19:30 +0000 (18:19 +0200)
commitf26542600e605482a1231c44ddb2966d69bd09b0
treebfda9e06935060df01bb8f2e706ac537e300677b
parent7e030655dda5b5efc4305e2a8f46c4967d32eb3d
perf_counter: Set the CONFIG_PERF_COUNTERS default to y if CONFIG_PROFILING=y

If user has already enabled profiling support in the kernel
(for oprofile, old-style profiling of ftrace) then offer up
perfcounters with a y default in interactive kconfig sessions.

Still keep it off by default otherwise.

Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
init/Kconfig