]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
context_tracking: Enable probes by default for selftesting
authorFrederic Weisbecker <fweisbec@gmail.com>
Tue, 26 Feb 2013 14:37:59 +0000 (15:37 +0100)
committerFrederic Weisbecker <fweisbec@gmail.com>
Thu, 7 Mar 2013 16:10:41 +0000 (17:10 +0100)
Until we provide the nohz_mask boot parameter, keeping
the context tracking probes disabled by default is pointless
since what we want is to runtime test this code anyway.

It's furthermore confusing for the users which don't expect
the probes to be off when they select RCU user mode or full
dynticks cputime accounting.

Let's enable these probes selftests by default for now.

Suggested: Steven Rostedt <rostedt@goodmis.org>
Signed-off-by: Frederic Weisbecker <fweisbec@gmail.com>
Cc: Li Zhong <zhong@linux.vnet.ibm.com>
Cc: Kevin Hilman <khilman@linaro.org>
Cc: Mats Liljegren <mats.liljegren@enea.com>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Ingo Molnar <mingo@kernel.org>
Cc: Steven Rostedt <rostedt@goodmis.org>
Cc: Namhyung Kim <namhyung.kim@lge.com>
Cc: Andrew Morton <akpm@linux-foundation.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
init/Kconfig

index 22616cd434bc7d91d157074eb0cf9c9ce9b9f0f0..8a1dac2f80a98c268a571d7609038095fd126e0e 100644 (file)
@@ -509,6 +509,7 @@ config RCU_USER_QS
 config CONTEXT_TRACKING_FORCE
        bool "Force context tracking"
        depends on CONTEXT_TRACKING
+       default CONTEXT_TRACKING
        help
          Probe on user/kernel boundaries by default in order to
          test the features that rely on it such as userspace RCU extended