pa2.2: add memory tracer

This commit is contained in:
xinyangli 2024-03-13 18:14:17 +08:00
parent c917083554
commit 0f7c6fd508
No known key found for this signature in database
3 changed files with 66 additions and 3 deletions

View file

@ -156,6 +156,24 @@ config ITRACE_BUFFER
int "Buffer size for intruction trace (unit: number of instructions)"
default 10
config MTRACE
depends on TRACE && TARGET_NATIVE_ELF && ENGINE_INTERPRETER
bool "Enable memory tracer"
config MTRACE_RANGE
depends on MTRACE
string "Memory trace active range"
default "0x0-0xfffffff"
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
bool "Enable differential testing"