> 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:16:34 up 6:22, 2 users, load average: 0.13, 0.35, 0.43
This commit is contained in:
parent
01001c930b
commit
f42498d96d
1 changed files with 5 additions and 5 deletions
|
@ -108,9 +108,9 @@ 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 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);
|
// Trace("%*s0x%x ret [%s@0x%x]", ftrace_stack_pos, "", pc, get_func_name(addr), addr);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue