···99#define HAVE_FUNCTION_GRAPH_FP_TEST1010#endif11111212+#define ARCH_SUPPORTS_FTRACE_OPS 11213#ifndef __ASSEMBLY__1314void _mcount(void);1415static inline unsigned long ftrace_call_adjust(unsigned long addr)
+3
arch/riscv/kernel/mcount-dyn.S
···7474 /*7575 * a0: the address in the caller when calling ftrace_caller7676 * a1: the caller's return address7777+ * a2: the address of global variable function_trace_op7778 */7879 ld a1, -8(s0)7980 addi a0, ra, -MCOUNT_INSN_SIZE8181+ la t5, function_trace_op8282+ ld a2, 0(t5)80838184#ifdef CONFIG_FUNCTION_GRAPH_TRACER8285 /*