On Fri, 16 Apr 2021 10:12:58 -0500
Josh Poimboeuf <[email protected]> wrote:

> Adding Steven Rostedt (ftrace maintainer).

Thanks.

> 
> On Fri, Apr 16, 2021 at 01:39:28PM +0800, zhaoxiao wrote:
> > In preparation for x86 supporting ftrace built on other compiler
> > options, let's have the x86 Makefiles remove the $(CC_FLAGS_FTRACE)
> > flags, whatever these may be, rather than assuming '-pg'.
> > 
> > There should be no functional change as a result of this patch.
> > 
> > Signed-off-by: zhaoxiao <[email protected]>
> > ---
> > v2: add the same change for the other Makefile in arch/x86 directory.
> >  arch/x86/entry/vdso/Makefile |  8 ++++----
> >  arch/x86/kernel/Makefile     | 16 ++++++++--------
> >  arch/x86/kernel/cpu/Makefile |  4 ++--
> >  arch/x86/lib/Makefile        |  2 +-
> >  arch/x86/mm/Makefile         |  4 ++--
> >  arch/x86/xen/Makefile        |  6 +++---
> >  6 files changed, 20 insertions(+), 20 deletions(-)
> > 

I'm good with switching "-pg" over to "$(CC_FLAGS_FTRACE)" globally.

Acked-by: Steven Rostedt (VMware) <[email protected]>

-- Steve

Reply via email to