> 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:13:01 up 6:18, 2 users, load average: 0.29, 0.52, 0.50
This commit is contained in:
parent
21aa685e1b
commit
a594f38f05
1 changed files with 1 additions and 1 deletions
|
@ -109,7 +109,7 @@ void ftrace_call(vaddr_t pc, vaddr_t addr) {
|
||||||
void ftrace_return(vaddr_t pc, vaddr_t addr) {
|
void ftrace_return(vaddr_t pc, vaddr_t addr) {
|
||||||
for (; addr != ftrace_stack[ftrace_stack_pos] && ftrace_stack_pos >= 0;
|
for (; addr != ftrace_stack[ftrace_stack_pos] && ftrace_stack_pos >= 0;
|
||||||
ftrace_stack_pos--) {
|
ftrace_stack_pos--) {
|
||||||
Trace("%*s0x%x [%s@0x%x] <TCO>", ftrace_stack_pos, "", pc, get_func_name(addr), addr);
|
Trace("%*s0x%x ret <TCO> [%s@0x%x] ", ftrace_stack_pos, "", 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_pos, "", pc, get_func_name(addr), addr);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue