[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20190619052800.434ff6f0@oasis.local.home>
Date: Wed, 19 Jun 2019 05:28:00 -0400
From: Steven Rostedt <rostedt@...dmis.org>
To: "Naveen N. Rao" <naveen.n.rao@...ux.vnet.ibm.com>
Cc: linux-kernel@...r.kernel.org, linuxppc-dev@...ts.ozlabs.org,
Masami Hiramatsu <mhiramat@...nel.org>,
Ingo Molnar <mingo@...nel.org>,
Michael Ellerman <mpe@...erman.id.au>,
Nicholas Piggin <npiggin@...il.com>
Subject: Re: [PATCH 5/7] powerpc/ftrace: Update ftrace_location() for
powerpc -mprofile-kernel
On Wed, 19 Jun 2019 13:26:37 +0530
"Naveen N. Rao" <naveen.n.rao@...ux.vnet.ibm.com> wrote:
> > In include/ftrace.h:
> >
> > #ifndef FTRACE_IP_EXTENSION
> > # define FTRACE_IP_EXTENSION 0
> > #endif
> >
> >
> > In arch/powerpc/include/asm/ftrace.h
> >
> > #define FTRACE_IP_EXTENSION MCOUNT_INSN_SIZE
> >
> >
> > Then we can just have:
> >
> > unsigned long ftrace_location(unsigned long ip)
> > {
> > return ftrace_location_range(ip, ip + FTRACE_IP_EXTENSION);
> > }
>
> Thanks, that's indeed nice. I hope you don't mind me adding your SOB for
> that.
Actually, it's best not to put a SOB by anyone other than yourself. It
actually has legal meaning.
In this case, please add:
Suggested-by: Steven Rostedt (VMware) <rostedt@...dmis.org>
Thanks!
-- Steve
Powered by blists - more mailing lists