1 /* SPDX-License-Identifier: GPL-2.0 */ 2 /* Copyright (C) 2017 Andes Technology Corporation */ 3 4 /* 5 * The graph frame test is not possible if CONFIG_FRAME_POINTER is not enabled. 6 * Check arch/riscv/kernel/mcount.S for detail. 7 */ 8 #if defined(CONFIG_FUNCTION_GRAPH_TRACER) && defined(CONFIG_FRAME_POINTER) 9 #define HAVE_FUNCTION_GRAPH_FP_TEST 10 #endif 11