Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1382801

Re: linux-next: Tree for Apr 19 (waketorture.c)

From "Paul E. McKenney" <paulmck@linux.vnet.ibm.com>
Newsgroups linux.kernel
Subject Re: linux-next: Tree for Apr 19 (waketorture.c)
Date 2016-04-19 21:10 +0200
Message-ID <rpJc6-3iE-7@gated-at.bofh.it> (permalink)
References <rpweR-1wO-1@gated-at.bofh.it> <rpGHg-1h5-15@gated-at.bofh.it> <rpHaj-1sn-39@gated-at.bofh.it> <rpI6n-2bD-23@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Tue, Apr 19, 2016 at 10:55:21AM -0700, Randy Dunlap wrote:
> On 04/19/16 09:56, Paul E. McKenney wrote:
> > On Tue, Apr 19, 2016 at 09:20:24AM -0700, Randy Dunlap wrote:
> >> On 04/18/16 22:13, Stephen Rothwell wrote:
> >>> Hi all,
> >>>
> >>> Changes since 20160418:
> >>>
> >>
> >> on x86_64:
> >>
> >> kernel/built-in.o: In function `wake_torture_stats_print':
> >> waketorture.c:(.text+0x2f06d): undefined reference to `trace_clock_global'
> >> kernel/built-in.o: In function `wake_torture_waiter':
> >> waketorture.c:(.text+0x2f196): undefined reference to `trace_clock_local'
> >> waketorture.c:(.text+0x2f1bc): undefined reference to `trace_clock_local'
> >> waketorture.c:(.text+0x2f1d4): undefined reference to `trace_clock_local'
> >> waketorture.c:(.text+0x2f237): undefined reference to `trace_clock_local'
> >> waketorture.c:(.text+0x2f253): undefined reference to `trace_clock_local'
> >> kernel/built-in.o:waketorture.c:(.text+0x2f318): more undefined references to `trace_clock_local' follow
> >> kernel/built-in.o: In function `wake_torture_init':
> >> waketorture.c:(.init.text+0x2b3f): undefined reference to `trace_clock_global'
> >>
> >>
> >> Full randconfig file is attached.
> > 
> > I don't see the .config, could you please send it to me?
> > 
> > Looks like I need to add a few "depends" or "selects" clauses...
> 
> Weird, mail client told me that it was attaching the config file.
> Trying again...

I know that feeling!

Does the following patch help?  (The 64BIT is unrelated, feel free
to back that part out if you wish.)

							Thanx, Paul

------------------------------------------------------------------------

diff --git a/lib/Kconfig.debug b/lib/Kconfig.debug
index 8644658e75c0..a42570a0fb56 100644
--- a/lib/Kconfig.debug
+++ b/lib/Kconfig.debug
@@ -1434,7 +1434,8 @@ config RCU_TORTURE_TEST_SLOW_CLEANUP_DELAY
 config WAKE_TORTURE_TEST
 	tristate "Torture test for wakeups and CPU hotplug"
 	depends on DEBUG_KERNEL
-	depends on X86_64 || ARM64 || PPC64 || MIPS
+	depends on 64BIT
+	depends on TRACE_CLOCK
 	select TORTURE_TEST
 	default n
 	help

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

linux-next: Tree for Apr 19 Stephen Rothwell <sfr@canb.auug.org.au> - 2016-04-19 07:20 +0200
  Re: linux-next: Tree for Apr 19 (waketorture.c) Randy Dunlap <rdunlap@infradead.org> - 2016-04-19 18:30 +0200
    Re: linux-next: Tree for Apr 19 (waketorture.c) "Paul E. McKenney" <paulmck@linux.vnet.ibm.com> - 2016-04-19 19:00 +0200
      Re: linux-next: Tree for Apr 19 (waketorture.c) "Paul E. McKenney" <paulmck@linux.vnet.ibm.com> - 2016-04-19 21:10 +0200
        Re: linux-next: Tree for Apr 19 (waketorture.c) Randy Dunlap <rdunlap@infradead.org> - 2016-04-19 21:40 +0200
          Re: linux-next: Tree for Apr 19 (waketorture.c) "Paul E. McKenney" <paulmck@linux.vnet.ibm.com> - 2016-04-19 22:10 +0200

csiph-web