2008-11-25 21:41:39

by Stephane Eranian

[permalink] [raw]
Subject: [patch 16/24] perfmon: 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-11-03 11:35:30.000000000 +0100
+++ o3/kernel/sys_ni.c 2008-11-03 11:35:32.000000000 +0100
@@ -174,3 +174,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);

--