> compile NEMU

ysyx_22040000 李心杨
Linux calcite 6.6.19 #1-NixOS SMP PREEMPT_DYNAMIC Fri Mar  1 12:35:11 UTC 2024 x86_64 GNU/Linux
 18:49:50  up   8:25,  2 users,  load average: 0.86, 0.64, 0.55
This commit is contained in:
tracer-ysyx 2024-03-13 18:49:50 +08:00 committed by xinyangli
parent cc2dffeac7
commit b037d4897c
2 changed files with 15 additions and 1 deletions

View file

@ -159,7 +159,7 @@ config ITRACE_BUFFER
config MTRACE config MTRACE
depends on TRACE && TARGET_NATIVE_ELF && ENGINE_INTERPRETER depends on TRACE && TARGET_NATIVE_ELF && ENGINE_INTERPRETER
bool "Enable memory tracer" bool "Enable memory tracer"
default n
config MTRACE_RANGE config MTRACE_RANGE
depends on MTRACE depends on MTRACE
@ -174,6 +174,16 @@ config MTRACE_RANGE_MAX
int "Max range count in MTRACE_RANGE" int "Max range count in MTRACE_RANGE"
default 10 default 10
config FTRACE
depends on TRACE && TARGET_NATIVE_ELF && ENGINE_INTERPRETER
bool "Enable function tracer"
default y
config FTRACE_LOG
depends on FTRACE
bool "Print log when entering a funciton"
default n
config DIFFTEST config DIFFTEST
depends on TARGET_NATIVE_ELF depends on TARGET_NATIVE_ELF
bool "Enable differential testing" bool "Enable differential testing"

View file

@ -0,0 +1,4 @@
#include <elf.h>
#ifdef CONFIG_FTRACE
#endif