> 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:05 up 6:37, 2 users, load average: 0.72, 0.62, 0.49
This commit is contained in:
parent
728fa8052d
commit
ad8e7430c3
1 changed files with 4 additions and 2 deletions
|
@ -116,8 +116,10 @@ void ftrace_return(vaddr_t pc, vaddr_t addr) {
|
||||||
ftrace_stack_len--) {
|
ftrace_stack_len--) {
|
||||||
vaddr_t tco_addr = ftrace_stack[ftrace_stack_len];
|
vaddr_t tco_addr = ftrace_stack[ftrace_stack_len];
|
||||||
func_t *f = get_func(tco_addr);
|
func_t *f = get_func(tco_addr);
|
||||||
Trace("%*s0x%x <TCO> [%s@0x%x] ", ftrace_stack_len, "", pc, f == NULL ? "???" : f->name, tco_addr - f->start);
|
Trace("%*s0x%x <TCO> 0x%x <%s+0x%x> ", ftrace_stack_len, "", pc, tco_addr,
|
||||||
|
f == NULL ? "???" : f->name, tco_addr - f->start);
|
||||||
}
|
}
|
||||||
func_t *f = get_func(addr);
|
func_t *f = get_func(addr);
|
||||||
Trace("%*s0x%x ret <%s+0x%x>", ftrace_stack_len, "", pc, f == NULL ? "???" : f->name, addr - f->start);
|
Trace("%*s0x%x ret 0x%x <%s+0x%x>", ftrace_stack_len, "", pc, addr,
|
||||||
|
f == NULL ? "???" : f->name, addr - f->start);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue