> 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
 19:31:54  up   6:37,  2 users,  load average: 1.05, 0.72, 0.53
This commit is contained in:
tracer-ysyx 2024-03-20 19:31:54 +08:00 committed by xinyangli
parent 551f0b9b13
commit 6ee929f0c7

View file

@ -105,7 +105,7 @@ void ftrace_call(vaddr_t pc, vaddr_t addr) {
"Ftrace stack exceed size limit, consider turn off ftrace or increase " "Ftrace stack exceed size limit, consider turn off ftrace or increase "
"FTRACE_STACK_SIZE."); "FTRACE_STACK_SIZE.");
ftrace_stack[ftrace_stack_len] = pc + 4; ftrace_stack[ftrace_stack_len] = pc + 4;
Trace("%*s0x%x call <%s@0x%x>", ftrace_stack_len, "", pc, f == NULL ? "???" : f->name, Trace("%*s0x%x call <%s+0x%x>", ftrace_stack_len, "", pc, f == NULL ? "???" : f->name,
addr); addr);
ftrace_stack_len++; ftrace_stack_len++;
} }