[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <87tt7q5tzp.fsf@all.your.base.are.belong.to.us>
Date: Tue, 18 Mar 2025 14:49:30 +0100
From: Björn Töpel <bjorn@...nel.org>
To: Pu Lehui <pulehui@...weicloud.com>, linux-riscv@...ts.infradead.org,
linux-kernel@...r.kernel.org
Cc: Palmer Dabbelt <palmer@...belt.com>, Alexandre Ghiti <alex@...ti.fr>,
"Masami Hiramatsu (Google)" <mhiramat@...nel.org>, "Steven Rostedt
(Google)" <rostedt@...dmis.org>, Naresh Kamboju
<naresh.kamboju@...aro.org>, Pu Lehui <pulehui@...wei.com>
Subject: Re: [PATCH v2 1/2] riscv: fgraph: Select HAVE_FUNCTION_GRAPH_TRACER
depends on HAVE_DYNAMIC_FTRACE_WITH_ARGS
Pu Lehui <pulehui@...weicloud.com> writes:
> From: Pu Lehui <pulehui@...wei.com>
>
> Currently, fgraph on riscv relies on the infrastructure of
> DYNAMIC_FTRACE_WITH_ARGS. However, DYNAMIC_FTRACE_WITH_ARGS may be
> turned off on riscv, which will cause the enabled fgraph to be abnormal.
> Therefore, let's select HAVE_FUNCTION_GRAPH_TRACER depends on
> HAVE_DYNAMIC_FTRACE_WITH_ARGS.
>
> Fixes: a3ed4157b7d8 ("fgraph: Replace fgraph_ret_regs with ftrace_regs")
> Reported-by: kernel test robot <lkp@...el.com>
> Closes: https://lore.kernel.org/oe-kbuild-all/202503160820.dvqMpH0g-lkp@intel.com/
> Signed-off-by: Pu Lehui <pulehui@...wei.com>
Reviewed-by: Björn Töpel <bjorn@...osinc.com>
Powered by blists - more mailing lists