Skip to contentSkip to conversation

perfmon: non-implemented perfmon syscalls

PATCH In review [email protected] 1 participant 1 message Nov 26, 2008 ABI/API

lore
Share & tools
lore
#0 lore raw

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.

--

kernel/sys_ni.c +7 -0
Index: o3/kernel/sys_ni.c
===================================================================
@@ -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);