Received: by 2002:a05:7412:1e0b:b0:fc:a2b0:25d7 with SMTP id kr11csp969116rdb; Fri, 16 Feb 2024 00:48:08 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCWb1R2ABoldde7IkOXEUiai9sbK8DZ5E2sSlngIYa/1xLQxPz44cTVQmj4ZPgXQCg/3aqBox4XGzetIDdOd/AYD+j4rtuArMMQSDC7kKQ== X-Google-Smtp-Source: AGHT+IH8q1bWvsMc1cAbJXTy1hjg0wPkE09B4m4B7DYTzfY1tnZJcneXhBzOm6Xz20NNUf8xulJQ X-Received: by 2002:a05:6808:d4e:b0:3c1:3d07:5e3 with SMTP id w14-20020a0568080d4e00b003c13d0705e3mr2233637oik.15.1708073287848; Fri, 16 Feb 2024 00:48:07 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1708073287; cv=pass; d=google.com; s=arc-20160816; b=ZNOnco1iMDyz1GgmgNjHb0e6BOzf3gjMp3JFi9x5Ek5H6sZWOHSKX5bm4NY+3wzd7G eFKYvJMP6BApY4JiMPI7yyCHuFKqtyyGp/MKuElfxYWwehZ0Iuo/1gCqsXQgJwNreOLx wQIB9WePfxne3EACdN9MunNSQkw/F6rFYUamYpD1ZWjDr2O/KrEHrm1uGBYi4/eYpgtM 0EEJOrEGc9TJX8PDlx5Kow7xTHB0NmzP6bB0Xc7rnBgKzXmK9qUc7v9rMYFgpfe1aFH+ dIJ/2AZmiX7h7QxDZVggDEx9as6aX5e2gJuzg3anvmci1JxjgSOw6BfM0XRJiFSwjmOG tFyw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:in-reply-to:message-id :subject:cc:to:from:date:dkim-signature; bh=it+K2xhd5Fi/vCu2BbE/urmMQtf2+QmuwcPT4I1gUAc=; fh=Ub95fBsiseQVLo56fdyDA2zH9Ec5p8qFryhFaIE+jLo=; b=npRIWKNLcyygQoi13RMEdQa4CsNHb2QJWyk18JgGkveB7t+g6a41K6bZ3vNyJS6DWj gSc+VB2hp8npop0NV7KtrRWIvcd6zf1df2K5Xj/Yonc59ZgrAxCKTdtrIjgLY4Lxni/S 3qF9ENMeMIgyrHRTRJJwTTQktdExY2wgf8kvr3YLVlp2EBYEerpWKnOuP5KfQz3qVPuR TPx0TlSPzpy5xxu7JcgaLyEbuDosxvacNbnxBhEI5ldHbHrQJ7Z/NuypOZvecx+0Annc o16CpmnXYOnutGvWgXjXBWJNy4RAgezjfFiLX4DjJndMLiFa91GDuueYgSouRKQNvdmd gfsw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=Q86fpiox; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-68258-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-68258-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id ln17-20020a056a003cd100b006e13776bf34si1301580pfb.123.2024.02.16.00.48.07 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 16 Feb 2024 00:48:07 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-68258-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=Q86fpiox; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-68258-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-68258-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id 88445284BE1 for ; Fri, 16 Feb 2024 08:48:07 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 6848F1CD27; Fri, 16 Feb 2024 08:43:35 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="Q86fpiox" Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 858521B960; Fri, 16 Feb 2024 08:43:34 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708073014; cv=none; b=PelIMti0OIka9Wf2H0ZrFzC996Pk1hm1cax5KsvfgE7D1dzxMVVTsnU3lGNKTI7Gwd5QNdoTQDsn9E6g4pd0CWDnKz4q6K94FdJ9dHgCp4aV4Pbph/DH9q/WWH6xxMAl5ryUpsenk6kr7fOxPzL0+MXrW9FhXTSoQk9FSrDcZ6U= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708073014; c=relaxed/simple; bh=+b8mN7CNmHQFpTKd9L1NSz4eoYyuQaBO8mYACb1HDHM=; h=Date:From:To:Cc:Subject:Message-Id:In-Reply-To:References: Mime-Version:Content-Type; b=ii+EQfWeY4/60a3WDr7tWyBziJbXm+8WZzcddOfDbi8dx+l+mEt3KteUVUiB+I8W7+pljEFOsHXMlYxX9MXwTut3Skf/ziK1mFl+ecqPsk6+1Q3SA67mI5HzdO+gGWPCXwlZxtkJ0p0jG1nHLuiLFjw+ugWCSQ4k2tj1CsvtJss= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=Q86fpiox; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id E2E9DC433C7; Fri, 16 Feb 2024 08:43:29 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1708073014; bh=+b8mN7CNmHQFpTKd9L1NSz4eoYyuQaBO8mYACb1HDHM=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=Q86fpioxtbr8kZVvxukz+myy6usxSOPpN+k3iITuYeQJPvoptqCj1yHJXJ0yzInJK vfo052HrWVYE2DdSemFiwDexPlBO93QOkKg85dPU28092LMZBb2p/NkGPBgklom7nT 1uzzaH0roBolrvZj729xpLU/TxFsM0cJQftnOmjWxZeu0hHdrqeaZBzdkTJQ/tzhNp XhFbETJGTeCC0c9/92RVjeog8ZWvZdMzigAznSZgZd4vA2OBrAtSRT1alU+udSme4L mKgZf+69lYlE2JL639XAX/cnwdMiZSlbrcAhmfVIjwXo5hxua4bzD9fGp5nnNJSUz5 BkGhfJDhLF09g== Date: Fri, 16 Feb 2024 17:43:27 +0900 From: Masami Hiramatsu (Google) To: Steven Rostedt Cc: Alexei Starovoitov , Florent Revest , linux-trace-kernel@vger.kernel.org, LKML , Martin KaFai Lau , bpf , Sven Schnelle , Alexei Starovoitov , Jiri Olsa , Arnaldo Carvalho de Melo , Daniel Borkmann , Alan Maguire , Mark Rutland , Peter Zijlstra , Thomas Gleixner , Guo Ren Subject: Re: [PATCH v7 23/36] function_graph: Add a new exit handler with parent_ip and ftrace_regs Message-Id: <20240216174327.092ff38bb6198718e8e5a1c3@kernel.org> In-Reply-To: <20240215104903.09bb3765@gandalf.local.home> References: <170723204881.502590.11906735097521170661.stgit@devnote2> <170723230476.502590.16817817024423790038.stgit@devnote2> <20240215104903.09bb3765@gandalf.local.home> X-Mailer: Sylpheed 3.7.0 (GTK+ 2.24.33; x86_64-pc-linux-gnu) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit On Thu, 15 Feb 2024 10:49:03 -0500 Steven Rostedt wrote: > On Wed, 7 Feb 2024 00:11:44 +0900 > "Masami Hiramatsu (Google)" wrote: > > > diff --git a/kernel/trace/Kconfig b/kernel/trace/Kconfig > > index 61c541c36596..308b3bec01b1 100644 > > --- a/kernel/trace/Kconfig > > +++ b/kernel/trace/Kconfig > > @@ -34,6 +34,9 @@ config HAVE_FUNCTION_GRAPH_TRACER > > config HAVE_FUNCTION_GRAPH_RETVAL > > bool > > > > +config HAVE_FUNCTION_GRAPH_FREGS > > + bool > > + > > config HAVE_DYNAMIC_FTRACE > > bool > > help > > We're starting to get overloaded with the CONFIG_HAVE_* options. > > We need to start consolidating them. I would like to make RETVAL and FREGS > into one option. We can add this now, but before we add anything else, we > need to see what HAVE configs have the same archs, and then just > consolidate them. If an new arch wants to add one of the consolidated > features, it will also need to add all the other features that were > consolidated with it. Got it. So RETVAL should be implemented by FREGS or REGS. Thank you, > > -- Steve -- Masami Hiramatsu (Google)