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 Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id E6913C433EF for ; Fri, 29 Apr 2022 19:20:00 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1380261AbiD2TXS (ORCPT ); Fri, 29 Apr 2022 15:23:18 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41196 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230041AbiD2TXQ (ORCPT ); Fri, 29 Apr 2022 15:23:16 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 19280C74BA for ; Fri, 29 Apr 2022 12:19:58 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id A9134624D1 for ; Fri, 29 Apr 2022 19:19:57 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 380D9C385AF; Fri, 29 Apr 2022 19:19:54 +0000 (UTC) From: Catalin Marinas To: rostedt@goodmis.org, mingo@redhat.com, tglx@linutronix.de, will@kernel.org, mark.rutland@arm.com, Chengming Zhou , ardb@kernel.org, broonie@kernel.org, dave.hansen@linux.intel.com Cc: songmuchun@bytedance.com, linux-arm-kernel@lists.infradead.org, duanxiongchun@bytedance.com, zhengqi.arch@bytedance.com, linux-kernel@vger.kernel.org, x86@kernel.org Subject: Re: [PATCH v5 1/2] ftrace: cleanup ftrace_graph_caller enable and disable Date: Fri, 29 Apr 2022 20:19:52 +0100 Message-Id: <165125998856.375450.16591731765661717766.b4-ty@arm.com> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20220420160006.17880-1-zhouchengming@bytedance.com> References: <20220420160006.17880-1-zhouchengming@bytedance.com> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, 21 Apr 2022 00:00:05 +0800, Chengming Zhou wrote: > The ftrace_[enable,disable]_ftrace_graph_caller() are used to do > special hooks for graph tracer, which are not needed on some ARCHs > that use graph_ops:func function to install return_hooker. > > So introduce the weak version in ftrace core code to cleanup > in x86. > > [...] Applied to arm64 (for-next/ftrace), thanks! [1/2] ftrace: cleanup ftrace_graph_caller enable and disable https://git.kernel.org/arm64/c/e999995c84c3 [2/2] arm64/ftrace: Make function graph use ftrace directly https://git.kernel.org/arm64/c/c4a0ebf87ceb -- Catalin 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 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 64CD6C433F5 for ; Fri, 29 Apr 2022 19:21:04 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=651ucXVDkCUcgoQhuotmuWA0GEoIYcOyPNx+tMBwehI=; b=ea3wdKRnB2vmKL ecJqQSkW0+xRzSCNbYHqKxlcEQDMqC9NLDOSecev0vnLuuhbQv0JAo0TaEw3Gf+loug9jz4+uxhcU kfLjYHtxUHWBcm2V9qNSq4AAfbqUMq7Q/LUAKiai1HPQo1U14BIe4GkHPk8omH+rWv7FhUs1frSOw 6MqRnCutmiII+SwyoxtRAK07LqO/w7pp1byNhI9UcGwmaKcPq/xLRh0KX8P1FxkgFuGfMDJ2yi6MT K5Yi6Pj0K2w/YkjPxvIssIsccPlGJQiXzeI/bBNb88PNgC1bP9C+wbzmRa9iwlMORVNpCIdwZMQFz PQlVV6ykSEppfsGvExpQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1nkW9y-00CJzl-Kz; Fri, 29 Apr 2022 19:20:10 +0000 Received: from dfw.source.kernel.org ([2604:1380:4641:c500::1]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1nkW9m-00CJur-2d for linux-arm-kernel@lists.infradead.org; Fri, 29 Apr 2022 19:19:59 +0000 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 9FADF6242B; Fri, 29 Apr 2022 19:19:57 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 380D9C385AF; Fri, 29 Apr 2022 19:19:54 +0000 (UTC) From: Catalin Marinas To: rostedt@goodmis.org, mingo@redhat.com, tglx@linutronix.de, will@kernel.org, mark.rutland@arm.com, Chengming Zhou , ardb@kernel.org, broonie@kernel.org, dave.hansen@linux.intel.com Cc: songmuchun@bytedance.com, linux-arm-kernel@lists.infradead.org, duanxiongchun@bytedance.com, zhengqi.arch@bytedance.com, linux-kernel@vger.kernel.org, x86@kernel.org Subject: Re: [PATCH v5 1/2] ftrace: cleanup ftrace_graph_caller enable and disable Date: Fri, 29 Apr 2022 20:19:52 +0100 Message-Id: <165125998856.375450.16591731765661717766.b4-ty@arm.com> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20220420160006.17880-1-zhouchengming@bytedance.com> References: <20220420160006.17880-1-zhouchengming@bytedance.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220429_121958_206188_368E8F5C X-CRM114-Status: GOOD ( 10.38 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On Thu, 21 Apr 2022 00:00:05 +0800, Chengming Zhou wrote: > The ftrace_[enable,disable]_ftrace_graph_caller() are used to do > special hooks for graph tracer, which are not needed on some ARCHs > that use graph_ops:func function to install return_hooker. > > So introduce the weak version in ftrace core code to cleanup > in x86. > > [...] Applied to arm64 (for-next/ftrace), thanks! [1/2] ftrace: cleanup ftrace_graph_caller enable and disable https://git.kernel.org/arm64/c/e999995c84c3 [2/2] arm64/ftrace: Make function graph use ftrace directly https://git.kernel.org/arm64/c/c4a0ebf87ceb -- Catalin _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel