lkml.org 
[lkml]   [2013]   [Feb]   [4]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Subject[PATCH] rcu: Have rcu torture test select trace_clock
From
Date
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



\
 
 \ /
  Last update: 2013-02-04 17:46    [W:0.047 / U:0.288 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site