From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-15.2 required=3.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER,INCLUDES_PATCH, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,USER_AGENT_SANE_2 autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id ED31DC433B4 for ; Fri, 16 Apr 2021 16:50:00 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id CC16B610CC for ; Fri, 16 Apr 2021 16:50:00 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S237257AbhDPQuY (ORCPT ); Fri, 16 Apr 2021 12:50:24 -0400 Received: from mail.kernel.org ([198.145.29.99]:48564 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235437AbhDPQuX (ORCPT ); Fri, 16 Apr 2021 12:50:23 -0400 Received: from gandalf.local.home (cpe-66-24-58-225.stny.res.rr.com [66.24.58.225]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 6745261008; Fri, 16 Apr 2021 16:49:57 +0000 (UTC) Date: Fri, 16 Apr 2021 12:49:55 -0400 From: Steven Rostedt To: Josh Poimboeuf Cc: zhaoxiao , tglx@linutronix.de, mingo@redhat.com, bp@alien8.de, x86@kernel.org, hpa@zytor.com, nivedita@alum.mit.edu, clin@suse.com, andriy.shevchenko@linux.intel.com, ndesaulniers@google.com, dan.j.williams@intel.com, masahiroy@kernel.org, linux-kernel@vger.kernel.org, jroedel@suse.de, peterz@infradead.org Subject: Re: [PATCH v2] X86: Makefile: Replace -pg with CC_FLAGS_FTRACE Message-ID: <20210416124955.64e824e3@gandalf.local.home> In-Reply-To: <20210416151258.gjchvi7c5uneiy63@treble> References: <20210416053928.11576-1-zhaoxiao@uniontech.com> <20210416151258.gjchvi7c5uneiy63@treble> X-Mailer: Claws Mail 3.17.8 (GTK+ 2.24.33; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, 16 Apr 2021 10:12:58 -0500 Josh Poimboeuf 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 > > --- > > 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) -- Steve