diff options
author | Pu Lehui <pulehui@huawei.com> | 2025-03-17 03:12:13 +0000 |
---|---|---|
committer | Alexandre Ghiti <alexghiti@rivosinc.com> | 2025-03-18 14:11:45 +0000 |
commit | e8eb8e1bdae94b9e003f5909519fd311d0936890 (patch) | |
tree | 2e7a0dc20b089c86e0a45aa07293ee02ee9bc334 /rust/helpers/build_bug.c | |
parent | 33981b1c4e499021421686dcfa7b3d23a430d00e (diff) | |
download | linux-e8eb8e1bdae94b9e003f5909519fd311d0936890.tar.gz linux-e8eb8e1bdae94b9e003f5909519fd311d0936890.tar.bz2 linux-e8eb8e1bdae94b9e003f5909519fd311d0936890.zip |
riscv: fgraph: Select HAVE_FUNCTION_GRAPH_TRACER depends on HAVE_DYNAMIC_FTRACE_WITH_ARGS
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@intel.com>
Closes: https://lore.kernel.org/oe-kbuild-all/202503160820.dvqMpH0g-lkp@intel.com/
Signed-off-by: Pu Lehui <pulehui@huawei.com>
Reviewed-by: Björn Töpel <bjorn@rivosinc.com>
Link: https://lore.kernel.org/r/20250317031214.4138436-1-pulehui@huaweicloud.com
Signed-off-by: Alexandre Ghiti <alexghiti@rivosinc.com>
Diffstat (limited to 'rust/helpers/build_bug.c')
0 files changed, 0 insertions, 0 deletions