On Thu, 10 Aug 2023 09:38:45 +0900 Masami Hiramatsu (Google) <mhiramat@xxxxxxxxxx> 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