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 63527C7EE25 for ; Fri, 9 Jun 2023 17:19:36 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230334AbjFIRTe (ORCPT ); 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 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