public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] rcu: Have rcu torture test select trace_clock
@ 2013-02-04 15:52 Steven Rostedt
  2013-02-04 16:59 ` Paul E. McKenney
  0 siblings, 1 reply; 4+ messages in thread
From: Steven Rostedt @ 2013-02-04 15:52 UTC (permalink / raw)
  To: LKML; +Cc: Paul E. McKenney, Ingo Molnar, Andrew Morton, Tetsuo Handa

The rcu torture test uses trace_clock, and requires that it be built
into the kernel. If it is not, then we get the following build error:

ERROR: "trace_clock_local" [kernel/rcutorture.ko] undefined!

Reported-by: Tetsuo Handa <penguin-kernel@I-love.SAKURA.ne.jp>
Signed-off-by: Steven Rostedt <rostedt@goodmis.org>

diff --git a/lib/Kconfig.debug b/lib/Kconfig.debug
index 4057127..b542477 100644
--- a/lib/Kconfig.debug
+++ b/lib/Kconfig.debug
@@ -942,6 +942,7 @@ config SPARSE_RCU_POINTER
 config RCU_TORTURE_TEST
 	tristate "torture tests for RCU"
 	depends on DEBUG_KERNEL
+	select TRACE_CLOCK
 	default n
 	help
 	  This option provides a kernel module that runs torture tests



^ permalink raw reply related	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2013-02-04 19:01 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-02-04 15:52 [PATCH] rcu: Have rcu torture test select trace_clock Steven Rostedt
2013-02-04 16:59 ` Paul E. McKenney
2013-02-04 18:36   ` Steven Rostedt
2013-02-04 18:59     ` Paul E. McKenney

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox