Re: About ARCH=sparc and what to pass to recordmcount.pl

2011-08-15 Thread David Miller
From: Steven Rostedt Date: Mon, 15 Aug 2011 15:55:00 -0400 > But if they use recordmcount.c instead, then nothing needs to be done > with recordmcount.pl. Thanks again Steven, I'll push the following via the sparc tree. >From 178a29600340bef5b13cd4157053679debe35351 Mon Sep

Re: About ARCH=sparc and what to pass to recordmcount.pl

2011-08-15 Thread David Miller
From: Steven Rostedt Date: Mon, 15 Aug 2011 15:55:00 -0400 > But if they use recordmcount.c instead, then nothing needs to be done > with recordmcount.pl. > > recordmcount.c looks at the elf file itself to determine what arch it is > for. If this is supported, then everything should work, and yo

Re: About ARCH=sparc and what to pass to recordmcount.pl

2011-08-15 Thread Steven Rostedt
On Mon, 2011-08-15 at 12:44 -0700, David Miller wrote: > From: Steven Rostedt > Date: Mon, 15 Aug 2011 11:40:23 -0400 > > > Actually, I think option d) is the best. > > > > d) have sparc support recordmcount.c > > Maybe you misunderstand what these guys are doing. > > The recordmcount.pl scrip

Re: About ARCH=sparc and what to pass to recordmcount.pl

2011-08-15 Thread David Miller
From: Steven Rostedt Date: Mon, 15 Aug 2011 11:40:23 -0400 > Actually, I think option d) is the best. > > d) have sparc support recordmcount.c Maybe you misunderstand what these guys are doing. The recordmcount.pl script wants to look at the output of the architecture of the built kernel. It'

Re: About ARCH=sparc and what to pass to recordmcount.pl

2011-08-15 Thread Ben Hutchings
On Mon, Aug 15, 2011 at 05:21:02PM +0200, Uwe Kleine-König wrote: > Hello, > > when I enable CONFIG_FUNCTION_TRACER and CONFIG_DYNAMIC_FTRACE for the > Debian kernel the build fails with: > > CC init/do_mounts_initrd.o > Arch sparc is not supported with CONFIG_FTRACE_MCOUNT_RECORD at > ..

Re: About ARCH=sparc and what to pass to recordmcount.pl

2011-08-15 Thread Uwe Kleine-König
On Mon, Aug 15, 2011 at 11:40:23AM -0400, Steven Rostedt wrote: > On Mon, 2011-08-15 at 11:33 -0400, Steven Rostedt wrote: > > On Mon, 2011-08-15 at 17:21 +0200, Uwe Kleine-König wrote: > > > Hello, > > > > > > when I enable CONFIG_FUNCTION_TRACER and CONFIG_DYNAMIC_FTRACE for the > > > Debian ker

Re: About ARCH=sparc and what to pass to recordmcount.pl

2011-08-15 Thread Steven Rostedt
On Mon, 2011-08-15 at 11:33 -0400, Steven Rostedt wrote: > On Mon, 2011-08-15 at 17:21 +0200, Uwe Kleine-König wrote: > > Hello, > > > > when I enable CONFIG_FUNCTION_TRACER and CONFIG_DYNAMIC_FTRACE for the > > Debian kernel the build fails with: > > > > CC init/do_mounts_initrd.o > > Arc

Re: About ARCH=sparc and what to pass to recordmcount.pl

2011-08-15 Thread Steven Rostedt
On Mon, 2011-08-15 at 17:21 +0200, Uwe Kleine-König wrote: > Hello, > > when I enable CONFIG_FUNCTION_TRACER and CONFIG_DYNAMIC_FTRACE for the > Debian kernel the build fails with: > > CC init/do_mounts_initrd.o > Arch sparc is not supported with CONFIG_FTRACE_MCOUNT_RECORD at > .../scrip

About ARCH=sparc and what to pass to recordmcount.pl

2011-08-15 Thread Uwe Kleine-König
Hello, when I enable CONFIG_FUNCTION_TRACER and CONFIG_DYNAMIC_FTRACE for the Debian kernel the build fails with: CC init/do_mounts_initrd.o Arch sparc is not supported with CONFIG_FTRACE_MCOUNT_RECORD at .../scripts/recordmcount.pl line 368. This happens because the kernel package build