2008-10-17 15:10:59

by Stephane Eranian

[permalink] [raw]
Subject: [patch 16/24] perfmon3: non-implemented perfmon syscalls

This patch adds the conditional perfmon syscalls, i.e.,
the non-implemented syscalls. This is a generic patch
for al architectures. It must be applied before any
syscall table is populated.

Signed-off-by: Stephane Eranian <[email protected]>
--

Index: o3/kernel/sys_ni.c
===================================================================
--- o3.orig/kernel/sys_ni.c 2008-10-10 11:07:00.000000000 +0200
+++ o3/kernel/sys_ni.c 2008-10-10 11:29:08.000000000 +0200
@@ -168,3 +168,10 @@
cond_syscall(compat_sys_timerfd_gettime);
cond_syscall(sys_eventfd);
cond_syscall(sys_eventfd2);
+
+/* perfmon */
+cond_syscall(sys_pfm_create);
+cond_syscall(sys_pfm_write);
+cond_syscall(sys_pfm_read);
+cond_syscall(sys_pfm_attach);
+cond_syscall(sys_pfm_set_state);

--