context_tracking: Enable probes by default for selftesting
authorFrederic Weisbecker <[email protected]>
Tue, 26 Feb 2013 14:37:59 +0000 (15:37 +0100)
committerFrederic Weisbecker <[email protected]>
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 <[email protected]>
Signed-off-by: Frederic Weisbecker <[email protected]>
Cc: Li Zhong <[email protected]>
Cc: Kevin Hilman <[email protected]>
Cc: Mats Liljegren <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: Ingo Molnar <[email protected]>
Cc: Steven Rostedt <[email protected]>
Cc: Namhyung Kim <[email protected]>
Cc: Andrew Morton <[email protected]>
Cc: Thomas Gleixner <[email protected]>
Cc: Paul E. McKenney <[email protected]>
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