Received: by 2002:a05:6a10:413:0:0:0:0 with SMTP id 19csp2237685pxp; Mon, 21 Mar 2022 14:38:10 -0700 (PDT) X-Google-Smtp-Source: ABdhPJw4e6V3vmoQkHWBEbrEg6X3Zq5uHgZruQ2/5j99cS/4S8Alct1Jtz57decAGE2ogZe/RyC0 X-Received: by 2002:a63:cd18:0:b0:382:14a2:c619 with SMTP id i24-20020a63cd18000000b0038214a2c619mr17149081pgg.444.1647898689907; Mon, 21 Mar 2022 14:38:09 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1647898689; cv=none; d=google.com; s=arc-20160816; b=WdF+oeWpGcPEOfrwo0MNj+3D9WdDXR3giEvc6w5HULJRGZrVA/otCfAdNNBMK1rG9C sR8F+GVniZTCVPxmoZDigzfQ7yIvp63P4RDUiT922fzZfBjA5DFpocmOIz+nkeUk62RG m3hofarHek7dvevUvqJlAMpCIO3B+V3hFAlKqdz6lxuzJegQJfhLwGbpMEz8I7zMc2kd JU8yIm3El7O6c3N6LmhsQmqIThulaIv4yX+Kuqh/L+86FFhNeKstb5fu89yMDwwZvSIQ f/LQ3n2LWbX1UAcsmdmBwrs3lG3m4MLLR6qvffNwE/p6GGNM4gGqIE2cUCHKnNmLyeTL KR6w== 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=VvN5XciF3JwndQe3UvKPn2M8dSSDtPexfnfa9PpCb/I=; b=xJj8A/YSAGIe/x4zv00zCHoetb238WmK9555shw38mrfbS92HVsNEssb0FVZ2TuEjq KQrL/R5ryR9MYIdr403thfqgDVK+zyiJ2/xHdynfsRywAh8N6+jWneXQPQR/VSO7C298 IDh2tLpJgYa54kKeGLWHdAKPCfh6yW97LMez/SjNh1ObZm+SqyczQ/ELcMX155YJp6+u LMflnbR9zV/zdQlO+jOMA2CK2zWpi0yf92mttQoVUdCwgDrb8xwQ+bUjxy8Ib43qU52k zV1c/ez47JC4aHLbCNRbHh23v9IxJBwUvgGde5WmP8ITB+coeUzjukwckcquiulGE+mx qlnA== 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 ot3-20020a17090b3b4300b001c5f7c491d4si390605pjb.166.2022.03.21.14.38.09 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 21 Mar 2022 14:38:09 -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 AEB381E3CD; Mon, 21 Mar 2022 14:13:18 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1350949AbiCUQRU (ORCPT + 99 others); Mon, 21 Mar 2022 12:17:20 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35948 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S242154AbiCUQRS (ORCPT ); Mon, 21 Mar 2022 12:17:18 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7844663CB; Mon, 21 Mar 2022 09:15:53 -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 031FF612CE; Mon, 21 Mar 2022 16:15:53 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id C79B0C340E8; Mon, 21 Mar 2022 16:15:50 +0000 (UTC) Date: Mon, 21 Mar 2022 12:15:49 -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: <20220321121549.1c8588c5@gandalf.local.home> In-Reply-To: <20220321121209.3b95e406@gandalf.local.home> References: <20220321140327.777f9554@canb.auug.org.au> <20220321112805.1393f9b9@gandalf.local.home> <20220321121209.3b95e406@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:12:09 -0400 Steven Rostedt wrote: > > > funcB: > > > call __fentry__ > > push funcB on trace-stack > > > > > > [..] > > call __fexit__ > > pop trace-stack until empty > > 'exit funcB' > > 'exit funcA' > > And what happens if funcC called funcA and it too was on the stack. We pop > that too? But it's not done yet, because calling of funcA was not a tail > call. And I just thought of another issue, where even my solution wont fix it. What happens if we trace funcA but not funcB? How do we get to trace the end of funcA? -- Steve