> 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:47:11  up   5:53,  2 users,  load average: 0.48, 0.46, 0.46
This commit is contained in:
tracer-ysyx 2024-03-20 18:47:11 +08:00 committed by xinyangli
parent bcf8ec87ca
commit 8988980966
3 changed files with 7 additions and 7 deletions

View file

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