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 466455692 for ; Fri, 11 Aug 2023 15:57:17 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id D1C67C433C8; Fri, 11 Aug 2023 15:57:15 +0000 (UTC) Date: Fri, 11 Aug 2023 11:57:14 -0400 From: Steven Rostedt To: "Masami Hiramatsu (Google)" Cc: Florent Revest , Alexei Starovoitov , 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 Subject: Re: [RFC PATCH v2 4/6] tracing/fprobe: Enable fprobe events with CONFIG_DYNAMIC_FTRACE_WITH_ARGS Message-ID: <20230811115714.171163fc@gandalf.local.home> In-Reply-To: <20230810093845.7ebbe1ada897a4afe861e331@kernel.org> References: <169139090386.324433.6412259486776991296.stgit@devnote2> <169139095066.324433.15514499924371317690.stgit@devnote2> <20230809234512.e3c39b8fffcc6297262f8fc8@kernel.org> <20230810093845.7ebbe1ada897a4afe861e331@kernel.org> X-Mailer: Claws Mail 3.19.1 (GTK+ 2.24.33; x86_64-pc-linux-gnu) Precedence: bulk X-Mailing-List: bpf@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, 10 Aug 2023 09:38:45 +0900 Masami Hiramatsu (Google) wrote: > > Or even just above this function if there are low chances it would get > > used elsewhere :) > > Thanks, but since regs_get_kernel_stack_nth() is defined in asm/ptrace.h, > I think ftrace_regs_get_kernel_stack_nth() is better defined in > linux/ftrace.h. :) I agree with Masami. Thanks, -- Steve