Add skeleton for perf_event_open.

This commit is contained in:
Ken Sato
2016-02-09 14:54:53 +09:00
parent 14c5bc08c2
commit c0cc6ac6db
5 changed files with 148 additions and 36 deletions

View File

@@ -2198,6 +2198,11 @@ return_execve2:
do_syscall_return(fd, cpu, ret, 0, 0, 0, 0);
break;
case __NR_perf_event_open:
ret = open("/dev/null", O_RDONLY);
do_syscall_return(fd, cpu, ret, 0, 0, 0, 0);
break;
case __NR_rt_sigaction:
act_sigaction(&w);
do_syscall_return(fd, cpu, 0, 0, 0, 0, 0);