From mboxrd@z Thu Jan 1 00:00:00 1970 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 D12581350EB; Thu, 15 Feb 2024 15:47:32 +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=1708012052; cv=none; b=OwHilvhpnfoSWsAokIeE/S81x1pjcLVWVjAYrYosH6ET+D/477WKghNy6ilPtQXCXAR8oHjGE8KTe9VZ1+izfW7nQxMmlNSvOXuyJ23DqKQ+Mv2XG00KwR731iIgxmodW5X23Um8vCKjG8tJ6FlP/syXvkYcb/0uRd95pVQyTDY= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708012052; c=relaxed/simple; bh=Hf6bxPRQvD+7VIPH9p9o2Rf3WPdCnp1+WDDxFKezXeo=; h=Date:From:To:Cc:Subject:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=I8BzV/w8AfJ9om5j8yP3nHjqgvCVhTwVsCfm5hQu6xiM792NS+7hNwzNSnhRdM4vtaww8gLWbL+TuZJ8j5HIvft7JePoUkKpFQFT1xu4ZWTYjgvw8YSSAhliVkmGa1EXWyQjdPBnWy1sL2C6zMcEAosBIPh2SPuDnQfbFLWWx6M= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 61D42C433C7; Thu, 15 Feb 2024 15:47:30 +0000 (UTC) Date: Thu, 15 Feb 2024 10:49:03 -0500 From: Steven Rostedt To: "Masami Hiramatsu (Google)" 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: <20240215104903.09bb3765@gandalf.local.home> In-Reply-To: <170723230476.502590.16817817024423790038.stgit@devnote2> References: <170723204881.502590.11906735097521170661.stgit@devnote2> <170723230476.502590.16817817024423790038.stgit@devnote2> X-Mailer: Claws Mail 3.19.1 (GTK+ 2.24.33; x86_64-pc-linux-gnu) Precedence: bulk X-Mailing-List: linux-trace-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 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. -- Steve