Received: by 2002:a05:6a10:413:0:0:0:0 with SMTP id 19csp2248070pxp; Mon, 21 Mar 2022 14:56:30 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzQi5z4EBhT+LjNlzouITqn9kxCojru7z83odq1gKtYw/BXxNlbahEyCzuSjZ1elFPw+pJ9 X-Received: by 2002:a17:903:1c2:b0:154:5edf:56d3 with SMTP id e2-20020a17090301c200b001545edf56d3mr6540992plh.10.1647899789861; Mon, 21 Mar 2022 14:56:29 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1647899789; cv=none; d=google.com; s=arc-20160816; b=PJpKAlILN/szA3pP1ObqbVhRKDGR4xpbCPlU52LDtMXbzncwYLG0Syfn19d999WLtG BI4FEqpdCnpaolIMDh4IxYIkcreEBopz/lpWjb66AgbTrUVFadBiaMUeFIrmtMAxcsaD 6Tw9sf63kaZaNuZgdcwQZe4nPCkbN3YcPn0sBzRT3XwHwW4agJmPsMg3kkM2BfEYtgLc 70cL5iV8Uxpv8yR9gEfYymV5DMRFOb1NTE7oylAONiuYG3hS0gmpKOFxVdHOFzCSEkMr b9e/bPEqi179HUf5dXrhsyKzslmfYz965Ny3eGZOso68BfZNNkOyLb6qiCTczp84pVyJ U8Kw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:subject:cc:to:from:date; bh=/vCRTIWc9hI1TO1ov4wQqYbs91NsYtCObjvaK7vBN28=; b=U4zSQBYH3WjVu7xQNSOTVIATzHJMCcCPIwdNAZ5/JumNJHXNCjYOUkw8LbQVxIVube dGeG7hgAVrs+Sk1pzaOn3bhe22dcxShqPinytmErBVchjBwnjjrllByi5Ig9A0iHWdkn ow6kAw6GRnxiMHhatN4Zf1Jbw3X/SuIXny1jYreJ+xy/gUqSIh9c7Pc62N0Z/thXX76b 5BXzjt1ZkBuYcp95fgaS0f+eLIOw8XqKL6Rrt/wfmqjOoRLsWoV1DS24y8oNjPmDxkbq as7YoEO6G9ILfGYFz4jDAGPWCFHtkQM6v5bssm0YU7SeLMrnhiuuPsVLjyVkicmQpMlB 7wDA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [2620:137:e000::1:18]) by mx.google.com with ESMTPS id x8-20020a17090a46c800b001bef41cdf55si426494pjg.47.2022.03.21.14.56.29 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 21 Mar 2022 14:56:29 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) client-ip=2620:137:e000::1:18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 39D7A2DE79A; Mon, 21 Mar 2022 14:22:49 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1350970AbiCUQkj (ORCPT + 99 others); Mon, 21 Mar 2022 12:40:39 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33806 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236787AbiCUQkh (ORCPT ); Mon, 21 Mar 2022 12:40:37 -0400 Received: from ams.source.kernel.org (ams.source.kernel.org [IPv6:2604:1380:4601:e00::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 18BD917E18; Mon, 21 Mar 2022 09:39:12 -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 ams.source.kernel.org (Postfix) with ESMTPS id B68D9B8184C; Mon, 21 Mar 2022 16:39:10 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id ABCE3C340F2; Mon, 21 Mar 2022 16:39:07 +0000 (UTC) Date: Mon, 21 Mar 2022 12:39:05 -0400 From: Steven Rostedt To: Peter Zijlstra Cc: Stephen Rothwell , Thomas Gleixner , Ingo Molnar , "H. Peter Anvin" , Linux Kernel Mailing List , Linux Next Mailing List , mhiramat@kernel.org, ast@kernel.org, hjl.tools@gmail.com, rick.p.edgecombe@intel.com, rppt@kernel.org, linux-toolchains@vger.kernel.org, Andrew.Cooper3@citrix.com, ndesaulniers@google.com Subject: Re: linux-next: build warnings after merge of the tip tree Message-ID: <20220321123905.5696c6c0@gandalf.local.home> In-Reply-To: <20220321122259.28146a7a@gandalf.local.home> References: <20220321140327.777f9554@canb.auug.org.au> <20220321112805.1393f9b9@gandalf.local.home> <20220321121209.3b95e406@gandalf.local.home> <20220321121549.1c8588c5@gandalf.local.home> <20220321122259.28146a7a@gandalf.local.home> 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 X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,RDNS_NONE, SPF_HELO_NONE,T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, 21 Mar 2022 12:22:59 -0400 Steven Rostedt wrote: > Or maybe another solution is: > > funcA: > [..] > jmp funcB > call __fexit__ > ret > > And if funcA is being traced, we change jmp to a call. > > [..] > call funcB > call __fexit__ We could also make __fexit__ a tail call: > ret funcA: [..] call funcB jmp __fexit__ We would also need a way to know that funcA has a tail call at the end. So more help from either the compiler or objtool. -- Steve