add strace bundled test cases

This commit is contained in:
Tomoki Shirasawa
2017-11-22 10:52:30 +09:00
parent 43230eb623
commit d273a2f58b
8 changed files with 356 additions and 1 deletions

View File

@ -9340,6 +9340,7 @@ long syscall(int num, ihk_mc_user_context_t *ctx)
#endif // DISABLE_SCHED_YIELD
set_cputime(1);
//kprintf("syscall=%d\n", num);
#ifdef PROFILE_ENABLE
if (thread->profile && thread->profile_start_ts) {
unsigned long ts = rdtsc();
@ -9473,6 +9474,7 @@ long syscall(int num, ihk_mc_user_context_t *ctx)
if (thread->proc->nohost) { // mcexec termination was detected
terminate(0, SIGKILL);
}
//kprintf("syscall=%d returns %lx(%ld)\n", num, l, l);
return l;
}