> 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
 17:50:21  up   7:26,  2 users,  load average: 0.39, 0.50, 0.54
This commit is contained in:
tracer-ysyx 2024-03-13 17:50:21 +08:00 committed by xinyangli
parent e391bdd5df
commit 12b18e77fd
2 changed files with 46 additions and 3 deletions

View file

@ -159,7 +159,20 @@ config ITRACE_BUFFER
config MTRACE
depends on TRACE && TARGET_NATIVE_ELF && ENGINE_INTERPRETER
bool "Enable memory tracer"
default n
config MTRACE_RANGE
depends on MTRACE
string "Memory trace active range"
default "0-fffffff"
help
Memory tracer will only print memory access in these ranges.
Use comma to seperate between ranges.
config MTRACE_RANGE_MAX
depends on MTRACE
int "Max range count in MTRACE_RANGE"
default 10
config DIFFTEST
depends on TARGET_NATIVE_ELF