[PATCH] ftrace: filter: Match dot symbols when searching functions on ppc64.

2016-03-31 Thread Thiago Jung Bauermann
In the ppc64 big endian ABI, function symbols point to function descriptors. The symbols which point to the function entry points have a dot in front of the function name. Consequently, when the ftrace filter mechanism searches for the symbol corresponding to an entry point address, it gets the dot

Re: [PATCH] ftrace: filter: Match dot symbols when searching functions on ppc64.

2016-04-01 Thread kbuild test robot
Hi Thiago, [auto build test ERROR on v4.6-rc1] [also build test ERROR on next-20160401] [cannot apply to tip/perf/core] [if your patch is applied to the wrong git tree, please drop us a note to help improving the system] url: https://github.com/0day-ci/linux/commits/Thiago-Jung-Bauermann/ftr

Re: [PATCH] ftrace: filter: Match dot symbols when searching functions on ppc64.

2016-04-01 Thread Thiago Jung Bauermann
Am Samstag, 02 April 2016, 03:51:21 schrieb kbuild test robot: > >> arch/powerpc/include/asm/ftrace.h:62:5: error: "CONFIG_PPC64" is not > >> defined [-Werror=undef] > #if CONFIG_PPC64 && (!defined(_CALL_ELF) || _CALL_ELF != 2) > ^ >cc1: all warnings being treated as errors I forgo

Re: [PATCH] ftrace: filter: Match dot symbols when searching functions on ppc64.

2016-04-13 Thread Thiago Jung Bauermann
Hello, Am Freitag, 01 April 2016, 18:28:06 schrieb Thiago Jung Bauermann: > Am Samstag, 02 April 2016, 03:51:21 schrieb kbuild test robot: > > >> arch/powerpc/include/asm/ftrace.h:62:5: error: "CONFIG_PPC64" is not > > >> defined [-Werror=undef] > > >> > > #if CONFIG_PPC64 && (!defined(_CALL_

Re: [PATCH] ftrace: filter: Match dot symbols when searching functions on ppc64.

2016-04-13 Thread Steven Rostedt
On Wed, 13 Apr 2016 21:39 -0300 Thiago Jung Bauermann wrote: > People seem to be considering patches for next, so this looks like a good > moment to ping about this one. Your timing is fine with respect to the merge window. I'm currently traveling, but I'll get to it on Monday. I have it marke

Re: [PATCH] ftrace: filter: Match dot symbols when searching functions on ppc64.

2016-04-14 Thread Michael Ellerman
On Fri, 2016-04-01 at 00:22 -0300, Thiago Jung Bauermann wrote: > In the ppc64 big endian ABI, function symbols point to function > descriptors. The symbols which point to the function entry points > have a dot in front of the function name. Consequently, when the > ftrace filter mechanism searche

Re: [PATCH] ftrace: filter: Match dot symbols when searching functions on ppc64.

2016-04-14 Thread Steven Rostedt
On Thu, 14 Apr 2016 17:11:35 +1000 Michael Ellerman wrote: > > > > diff --git a/arch/powerpc/include/asm/ftrace.h > > b/arch/powerpc/include/asm/ftrace.h > > index 50ca7585abe2..68f1858796c6 100644 > > --- a/arch/powerpc/include/asm/ftrace.h > > +++ b/arch/powerpc/include/asm/ftrace.h > > @@ -58

Re: [PATCH] ftrace: filter: Match dot symbols when searching functions on ppc64.

2016-04-14 Thread Thiago Jung Bauermann
Am Donnerstag, 14 April 2016, 06:58:05 schrieb Steven Rostedt: > On Thu, 14 Apr 2016 17:11:35 +1000 > > Michael Ellerman wrote: > > Presumably Steve will have a preference for which style you use. > > Actually, what I usually do is simply make a "weak" stub function and > let the arch override i