Prev: parisc: superio: do not use PCI resources before pci_enable_device()
Next: coda: rename REQ_* to CODA_REQ_*
From: Rabin Vincent on 3 Aug 2010 12:50 Steven, Frederic, I'd like to resurrect this old ARM dynamic ftrace patchset. It still applies on next except for a small merge conflict in one of the ARM-specific patches. On Sat, Mar 13, 2010 at 12:19:44PM +0530, Rabin Vincent wrote: > On ARM, we have two ABIs, and the ABI used is controlled via a config > option. Object files built with one ABI can't be merged with object > files built with the other ABI. So, record_mcount.pl needs to use the > same compiler flags as the kernel when generating the object file with > the mcount locations. Ensure this by passing CFLAGS to the script. > > Signed-off-by: Rabin Vincent <rabin(a)rab.in> This is the only non-arch/arm/ patch in the series which doesn't have either of your Acked-bys, so if you'd be willing to ack it, I'll send in the lot via rmk's ARM patch system for .37. Alternatively, this one and "[PATCH 03/10] ftrace: allow building without frame pointers" could go in via the tracing tree for .36? Then I'll send in the ARM specific stuff for .37 via the ARM tree. Thanks, Rabin > --- > scripts/Makefile.build | 3 ++- > 1 files changed, 2 insertions(+), 1 deletions(-) > > diff --git a/scripts/Makefile.build b/scripts/Makefile.build > index 0b94d2f..2535c11 100644 > --- a/scripts/Makefile.build > +++ b/scripts/Makefile.build > @@ -209,7 +209,8 @@ ifdef CONFIG_FTRACE_MCOUNT_RECORD > cmd_record_mcount = set -e ; perl $(srctree)/scripts/recordmcount.pl "$(ARCH)" \ > "$(if $(CONFIG_CPU_BIG_ENDIAN),big,little)" \ > "$(if $(CONFIG_64BIT),64,32)" \ > - "$(OBJDUMP)" "$(OBJCOPY)" "$(CC)" "$(LD)" "$(NM)" "$(RM)" "$(MV)" \ > + "$(OBJDUMP)" "$(OBJCOPY)" "$(CC) $(KBUILD_CFLAGS)" \ > + "$(LD)" "$(NM)" "$(RM)" "$(MV)" \ > "$(if $(part-of-module),1,0)" "$(@)"; > endif > > -- > 1.7.0 > -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo(a)vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
From: Frederic Weisbecker on 6 Aug 2010 11:40 On Tue, Aug 03, 2010 at 10:12:47PM +0530, Rabin Vincent wrote: > Steven, Frederic, > > I'd like to resurrect this old ARM dynamic ftrace patchset. It still > applies on next except for a small merge conflict in one of the > ARM-specific patches. > > On Sat, Mar 13, 2010 at 12:19:44PM +0530, Rabin Vincent wrote: > > On ARM, we have two ABIs, and the ABI used is controlled via a config > > option. Object files built with one ABI can't be merged with object > > files built with the other ABI. So, record_mcount.pl needs to use the > > same compiler flags as the kernel when generating the object file with > > the mcount locations. Ensure this by passing CFLAGS to the script. > > > > Signed-off-by: Rabin Vincent <rabin(a)rab.in> > > This is the only non-arch/arm/ patch in the series which doesn't have > either of your Acked-bys, so if you'd be willing to ack it, I'll send in > the lot via rmk's ARM patch system for .37. > > Alternatively, this one and "[PATCH 03/10] ftrace: allow building > without frame pointers" could go in via the tracing tree for .36? Then > I'll send in the ARM specific stuff for .37 via the ARM tree. > > Thanks, > Rabin I'll let Steve handling this one as I have few skills with things that touch scripts/recordmcount.pl :) -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo(a)vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
From: Steven Rostedt on 6 Aug 2010 16:30 Sorry for the late reply, just got back from vacation. On Tue, 2010-08-03 at 22:12 +0530, Rabin Vincent wrote: > Steven, Frederic, > > I'd like to resurrect this old ARM dynamic ftrace patchset. It still > applies on next except for a small merge conflict in one of the > ARM-specific patches. > > On Sat, Mar 13, 2010 at 12:19:44PM +0530, Rabin Vincent wrote: > > On ARM, we have two ABIs, and the ABI used is controlled via a config > > option. Object files built with one ABI can't be merged with object > > files built with the other ABI. So, record_mcount.pl needs to use the > > same compiler flags as the kernel when generating the object file with > > the mcount locations. Ensure this by passing CFLAGS to the script. > > > > Signed-off-by: Rabin Vincent <rabin(a)rab.in> > > This is the only non-arch/arm/ patch in the series which doesn't have > either of your Acked-bys, so if you'd be willing to ack it, I'll send in > the lot via rmk's ARM patch system for .37. > > Alternatively, this one and "[PATCH 03/10] ftrace: allow building > without frame pointers" could go in via the tracing tree for .36? Then > I'll send in the ARM specific stuff for .37 via the ARM tree. > > Thanks, > Rabin > > > --- > > scripts/Makefile.build | 3 ++- > > 1 files changed, 2 insertions(+), 1 deletions(-) > > > > diff --git a/scripts/Makefile.build b/scripts/Makefile.build > > index 0b94d2f..2535c11 100644 > > --- a/scripts/Makefile.build > > +++ b/scripts/Makefile.build > > @@ -209,7 +209,8 @@ ifdef CONFIG_FTRACE_MCOUNT_RECORD > > cmd_record_mcount = set -e ; perl $(srctree)/scripts/recordmcount.pl "$(ARCH)" \ > > "$(if $(CONFIG_CPU_BIG_ENDIAN),big,little)" \ > > "$(if $(CONFIG_64BIT),64,32)" \ > > - "$(OBJDUMP)" "$(OBJCOPY)" "$(CC)" "$(LD)" "$(NM)" "$(RM)" "$(MV)" \ > > + "$(OBJDUMP)" "$(OBJCOPY)" "$(CC) $(KBUILD_CFLAGS)" \ > > + "$(LD)" "$(NM)" "$(RM)" "$(MV)" \ Hmm, this changes the number of parameters passed to the recordmcount.pl. shouldn't this be part of the change to recordmcount.pl? Otherwise, we can break a bisect. -- Steve > > "$(if $(part-of-module),1,0)" "$(@)"; > > endif > > > > -- > > 1.7.0 > > -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo(a)vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
From: Rabin Vincent on 7 Aug 2010 01:40 On Sat, Aug 7, 2010 at 1:53 AM, Steven Rostedt <rostedt(a)goodmis.org> wrote: >> > � � "$(if $(CONFIG_CPU_BIG_ENDIAN),big,little)" \ >> > � � "$(if $(CONFIG_64BIT),64,32)" \ >> > - � "$(OBJDUMP)" "$(OBJCOPY)" "$(CC)" "$(LD)" "$(NM)" "$(RM)" "$(MV)" \ >> > + � "$(OBJDUMP)" "$(OBJCOPY)" "$(CC) $(KBUILD_CFLAGS)" \ >> > + � "$(LD)" "$(NM)" "$(RM)" "$(MV)" \ > > Hmm, this changes the number of parameters passed to the > recordmcount.pl. shouldn't this be part of the change to > recordmcount.pl? Otherwise, we can break a bisect. No, this doesn't change the number of parameters. KBUILD_CFLAGS is included inside the CC argument. Rabin -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo(a)vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
From: Steven Rostedt on 7 Aug 2010 09:20
Sorry for top post. Sent from phone. Argh! We had this discussion before. I must be getting old. Acked-by: Steven Rostedt <rostedt(a)goodmis.org> -- Steve "Rabin Vincent" <rabin(a)rab.in> wrote: >On Sat, Aug 7, 2010 at 1:53 AM, Steven Rostedt <rostedt(a)goodmis.org> wrote: >>> > "$(if $(CONFIG_CPU_BIG_ENDIAN),big,little)" \ >>> > "$(if $(CONFIG_64BIT),64,32)" \ >>> > - "$(OBJDUMP)" "$(OBJCOPY)" "$(CC)" "$(LD)" "$(NM)" "$(RM)" "$(MV)" \ >>> > + "$(OBJDUMP)" "$(OBJCOPY)" "$(CC) $(KBUILD_CFLAGS)" \ >>> > + "$(LD)" "$(NM)" "$(RM)" "$(MV)" \ >> >> Hmm, this changes the number of parameters passed to the >> recordmcount.pl. shouldn't this be part of the change to >> recordmcount.pl? Otherwise, we can break a bisect. > >No, this doesn't change the number of parameters. KBUILD_CFLAGS >is included inside the CC argument. > >Rabin -- Sent from my Android phone with K-9 Mail. Please excuse my brevity. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo(a)vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/ |