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

From: eranian
Date: Fri Oct 17 2008 - 11:11:00 EST


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 <eranian@xxxxxxxxx>
--

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);

--

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/