syscall trace finished
This commit is contained in:
@ -146,6 +146,9 @@ found:
|
||||
p->context.ra = (uint64)forkret;
|
||||
p->context.sp = p->kstack + PGSIZE;
|
||||
|
||||
// 初始化计数器
|
||||
memset(p->syscall_counts, 0, sizeof(p->syscall_counts));
|
||||
|
||||
return p;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user