> 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:
parent
8988980966
commit
cd53fb04d5
1 changed files with 2 additions and 2 deletions
|
@ -100,10 +100,10 @@ failed_nosym:
|
||||||
}
|
}
|
||||||
|
|
||||||
void ftrace_call(vaddr_t pc, vaddr_t addr) {
|
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) {
|
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);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue