Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp2410493rwd; Fri, 9 Jun 2023 10:44:35 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ5Jus7/4oQlduGfJYoyh4UQJhCeDMqnWjwfl4+Hb6IYnFPuSTm71Et37kWo/Y85Rc5qDTF/ X-Received: by 2002:a05:6a20:43a8:b0:114:6669:21f8 with SMTP id i40-20020a056a2043a800b00114666921f8mr1599847pzl.35.1686332675350; Fri, 09 Jun 2023 10:44:35 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1686332675; cv=none; d=google.com; s=arc-20160816; b=a9SI/oA1iVYDNQs1jdvbKT/AVhJKAs+F84LLl8arkRnUm6xcgT9s0xyMNzgN3cc7k7 +2abjq6Gw7OJRnM1+6fJ8yJBXEXOnn48tQydMExnUjaQHhwA5dFFouESaUG/ctSiL0Hn Cp0LMgR7gsiPrnBZbi6xqTX8/91mfQblvZF3JVYR5SmP05ZDi8SsGgJKSCEAIq65hLe5 ONXTk1QLXCcr/CEFwbZX2udlqrZrjVwg8dnQeXACitZ6c/883sMlAaYKQaPL+oUR3pye 0ngRa4GG5sgMGAThXhSlrJ2spP/O1PrbEaAQ5GaXYAwv7Wup8fcclBb7wBQUCr/PujU7 y0pg== 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=+oN/nHYwtl7j5BeicVkxQEpGHyQCWYvao3TjLfr72y4=; b=mwN6W4+to5nDGMi+W9d++rJOrQlXmagE5OzceSfx97KUBNSzMNy8xyNAmKHdORJpPQ bXK6E9JjL4QsxD1Ys7o+WaB6nPh8F4wJheF6Jftun5X3zIvQL/fx3A7XUerjA/LwAhKe lHAulrzmds4joHtSGt7a14aGYGInDda5uSXQ3qgCdmXCCyhza6GLyHWUX9M0CVeAq82H B4RmOYBR+lR5sepgsD7/66GWOBlw1x8uwLHf0dwF4qszkQtEjxMAafG+CAWJuxE4HP17 taRONtOQyTOXFvENQYsICvHrSLo9kgmzI+kY+7/BKx8Dclk5Uj2Bz1MMuqwoWGruu0b1 zKaw== 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:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id b67-20020a633446000000b005348464b81fsi2949135pga.371.2023.06.09.10.44.21; Fri, 09 Jun 2023 10:44:35 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230327AbjFIRTe (ORCPT + 99 others); Fri, 9 Jun 2023 13:19:34 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36456 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229622AbjFIRTc (ORCPT ); Fri, 9 Jun 2023 13:19:32 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 59928E46; Fri, 9 Jun 2023 10:19:31 -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 EA303602F3; Fri, 9 Jun 2023 17:19:30 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 42F0EC433EF; Fri, 9 Jun 2023 17:19:27 +0000 (UTC) Date: Fri, 9 Jun 2023 13:19:24 -0400 From: Steven Rostedt To: Catalin Marinas Cc: Donglin Peng , mhiramat@kernel.org, linux@armlinux.org.uk, mark.rutland@arm.com, will@kernel.org, rmk+kernel@armlinux.org.uk, palmer@dabbelt.com, paul.walmsley@sifive.com, aou@eecs.berkeley.edu, tglx@linutronix.de, dave.hansen@linux.intel.com, x86@kernel.org, bp@alien8.de, hpa@zytor.com, chenhuacai@kernel.org, zhangqing@loongson.cn, kernel@xen0n.name, mingo@redhat.com, peterz@infradead.org, xiehuan09@gmail.com, dinghui@sangfor.com.cn, huangcun@sangfor.com.cn, dolinux.peng@gmail.com, linux-trace-kernel@vger.kernel.org, loongarch@lists.linux.dev, linux-riscv@lists.infradead.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v11 4/8] arm64: ftrace: Enable HAVE_FUNCTION_GRAPH_RETVAL Message-ID: <20230609131924.5ff89413@gandalf.local.home> In-Reply-To: References: 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=-6.7 required=5.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,RCVD_IN_DNSWL_HI,SPF_HELO_NONE,SPF_PASS, T_SCC_BODY_TEXT_LINE autolearn=ham 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 Fri, 9 Jun 2023 10:31:19 +0100 Catalin Marinas wrote: > On Sat, Apr 08, 2023 at 05:42:18AM -0700, Donglin Peng wrote: > > The previous patch ("function_graph: Support recording and printing > > the return value of function") has laid the groundwork for the for > > the funcgraph-retval, and this modification makes it available on > > the ARM64 platform. > > > > We introduce a new structure called fgraph_ret_regs for the ARM64 > > platform to hold return registers and the frame pointer. We then > > fill its content in the return_to_handler and pass its address to > > the function ftrace_return_to_handler to record the return value. > > > > Reviewed-by: Mark Rutland > > Tested-by: Mark Rutland > > Signed-off-by: Donglin Peng > > We fully trust Mark's reviews ;) but just in case you need an official > maintainer ack: > > Acked-by: Catalin Marinas Thanks Catalin, that does help. -- Steve