> 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:48:54  up   5:54,  2 users,  load average: 0.97, 0.63, 0.52
This commit is contained in:
tracer-ysyx 2024-03-20 18:48:54 +08:00 committed by xinyangli
parent 8988980966
commit cd53fb04d5

View file

@ -100,10 +100,10 @@ failed_nosym:
}
void ftrace_call(vaddr_t pc, vaddr_t addr) {
printf("[FTRACE] call [%s@0x%x]\n", get_func_name(addr), addr);
printf("[FTRACE] 0x%x call [%s@0x%x]\n", pc, get_func_name(addr), addr);
}
void ftrace_return(vaddr_t pc, vaddr_t addr) {
printf("[FTRACE] ret [%s@0x%x]\n", get_func_name(addr), addr);
printf("[FTRACE] 0x%x ret [%s@0x%x]\n", pc, get_func_name(addr), addr);
}