> 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:22:10 up 6:28, 2 users, load average: 0.12, 0.21, 0.34
This commit is contained in:
parent
4ea59e6e01
commit
53efdfc15c
1 changed files with 2 additions and 2 deletions
|
@ -114,7 +114,7 @@ void ftrace_return(vaddr_t pc, vaddr_t addr) {
|
||||||
--ftrace_stack_len;
|
--ftrace_stack_len;
|
||||||
for (; addr != ftrace_stack[ftrace_stack_len] && ftrace_stack_len >= 0;
|
for (; addr != ftrace_stack[ftrace_stack_len] && ftrace_stack_len >= 0;
|
||||||
ftrace_stack_len--) {
|
ftrace_stack_len--) {
|
||||||
Trace("%*s0x%x ret [%s@0x%x] ", ftrace_stack_len, "", pc, get_func_name(addr), addr);
|
// Trace("%*s0x%x ret [%s@0x%x] ", ftrace_stack_len, "", pc, get_func_name(addr), addr);
|
||||||
}
|
}
|
||||||
// Trace("%*s0x%x ret [%s@0x%x]", ftrace_stack_pos, "", pc, get_func_name(addr), addr);
|
Trace("%*s0x%x ret [%s@0x%x]", ftrace_stack_len, "", pc, get_func_name(addr), addr);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue