[PATCH v8 1/8] ftrace: make CALLER_ADDRx macros more generic

Steven Rostedt rostedt at goodmis.org
Fri May 2 12:02:06 PDT 2014


On Fri, 2 May 2014 19:13:48 +0100
Will Deacon <will.deacon at arm.com> wrote:

> Hi Akashi,
> 
> On Wed, Apr 30, 2014 at 10:54:29AM +0100, AKASHI Takahiro wrote:
> > Most archs with HAVE_ARCH_CALLER_ADDR have the almost same definitions
> > of CALLER_ADDRx(n), and so put them into linux/ftrace.h.
> > 
> > Signed-off-by: AKASHI Takahiro <takahiro.akashi at linaro.org>
> > ---
> >  arch/arm/include/asm/ftrace.h      |   10 +---------
> >  arch/blackfin/include/asm/ftrace.h |   11 +----------
> >  arch/parisc/include/asm/ftrace.h   |   10 +---------
> >  arch/sh/include/asm/ftrace.h       |   10 +---------
> >  arch/xtensa/include/asm/ftrace.h   |   14 ++++----------
> >  include/linux/ftrace.h             |   34 ++++++++++++++++++----------------
> >  6 files changed, 26 insertions(+), 63 deletions(-)
> 
> This one looks a bit too widespread to be merged via the arm64 tree. I
> wonder if the ftrace maintainers would consider taking it as a cleanup?
> 

I actually was the one to recommend this approach. But I have some
small comments to the patch. I'll reply directly to the patch with them.

-- Steve



More information about the linux-arm-kernel mailing list