* [patch 17/24] perfmon3: X86 64-bit system calls support
@ 2008-10-17 15:05 eranian
0 siblings, 0 replies; only message in thread
From: eranian @ 2008-10-17 15:05 UTC (permalink / raw)
To: linux-kernel
This patchs adds the entry points for the X86 64-bit perfmon system calls.
Signed-off-by: Stephane Eranian <eranian@gmail.com>
--
Index: o3/include/asm-x86/unistd_64.h
===================================================================
--- o3.orig/include/asm-x86/unistd_64.h 2008-10-10 11:57:02.000000000 +0200
+++ o3/include/asm-x86/unistd_64.h 2008-10-10 12:06:15.000000000 +0200
@@ -653,7 +653,16 @@
__SYSCALL(__NR_pipe2, sys_pipe2)
#define __NR_inotify_init1 294
__SYSCALL(__NR_inotify_init1, sys_inotify_init1)
-
+#define __NR_pfm_create 295
+__SYSCALL(__NR_pfm_create, sys_pfm_create)
+#define __NR_pfm_write (__NR_pfm_create+1)
+__SYSCALL(__NR_pfm_write, sys_pfm_write)
+#define __NR_pfm_read (__NR_pfm_create+2)
+ __SYSCALL(__NR_pfm_read, sys_pfm_read)
+#define __NR_pfm_attach (__NR_pfm_create+3)
+__SYSCALL(__NR_pfm_attach, sys_pfm_attach)
+#define __NR_pfm_set_state (__NR_pfm_create+4)
+__SYSCALL(__NR_pfm_set_state, sys_pfm_set_state)
#ifndef __NO_STUBS
#define __ARCH_WANT_OLD_READDIR
--
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2008-10-17 15:11 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-10-17 15:05 [patch 17/24] perfmon3: X86 64-bit system calls support eranian
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
Powered by JetHome