The Linux Kernel Mailing List
 help / color / mirror / Atom feed
* [patch 19/24] perfmon: X86 32-bit system calls support (x86)
@ 2008-11-25 21:36 eranian
  0 siblings, 0 replies; 2+ messages in thread
From: eranian @ 2008-11-25 21:36 UTC (permalink / raw)
  To: linux-kernel

This patchs adds the entry points for the X86 32-bit perfmon system calls.

Signed-off-by: Stephane Eranian <eranian@gmail.com>
--

Index: o3/arch/x86/kernel/syscall_table_32.S
===================================================================
--- o3.orig/arch/x86/kernel/syscall_table_32.S	2008-11-03 10:44:00.000000000 +0100
+++ o3/arch/x86/kernel/syscall_table_32.S	2008-11-03 11:18:20.000000000 +0100
@@ -332,3 +332,8 @@
 	.long sys_dup3			/* 330 */
 	.long sys_pipe2
 	.long sys_inotify_init1
+	.long sys_pfm_create
+	.long sys_pfm_write
+	.long sys_pfm_read		/* 335 */
+	.long sys_pfm_attach
+	.long sys_pfm_set_state
Index: o3/arch/x86/include/asm/unistd_32.h
===================================================================
--- o3.orig/arch/x86/include/asm/unistd_32.h	2008-11-03 11:23:44.000000000 +0100
+++ o3/arch/x86/include/asm/unistd_32.h	2008-11-03 11:25:12.000000000 +0100
@@ -338,6 +338,11 @@
 #define __NR_dup3		330
 #define __NR_pipe2		331
 #define __NR_inotify_init1	332
+#define __NR_pfm_create		333
+#define __NR_pfm_write		(__NR_pfm_create+1)
+#define __NR_pfm_read		(__NR_pfm_create+2)
+#define __NR_pfm_attach		(__NR_pfm_create+3)
+#define __NR_pfm_set_state	(__NR_pfm_create+4)
 
 #ifdef __KERNEL__
 

-- 


^ permalink raw reply	[flat|nested] 2+ messages in thread

* [patch 19/24] perfmon: X86 32-bit system calls support (x86)
@ 2008-11-26  8:42 eranian
  0 siblings, 0 replies; 2+ messages in thread
From: eranian @ 2008-11-26  8:42 UTC (permalink / raw)
  To: linux-kernel; +Cc: akpm, mingo, x86, andi, eranian, sfr

This patchs adds the entry points for the X86 32-bit perfmon system calls.

Signed-off-by: Stephane Eranian <eranian@gmail.com>
--

Index: o3/arch/x86/kernel/syscall_table_32.S
===================================================================
--- o3.orig/arch/x86/kernel/syscall_table_32.S	2008-11-03 10:44:00.000000000 +0100
+++ o3/arch/x86/kernel/syscall_table_32.S	2008-11-03 11:18:20.000000000 +0100
@@ -332,3 +332,8 @@
 	.long sys_dup3			/* 330 */
 	.long sys_pipe2
 	.long sys_inotify_init1
+	.long sys_pfm_create
+	.long sys_pfm_write
+	.long sys_pfm_read		/* 335 */
+	.long sys_pfm_attach
+	.long sys_pfm_set_state
Index: o3/arch/x86/include/asm/unistd_32.h
===================================================================
--- o3.orig/arch/x86/include/asm/unistd_32.h	2008-11-03 11:23:44.000000000 +0100
+++ o3/arch/x86/include/asm/unistd_32.h	2008-11-03 11:25:12.000000000 +0100
@@ -338,6 +338,11 @@
 #define __NR_dup3		330
 #define __NR_pipe2		331
 #define __NR_inotify_init1	332
+#define __NR_pfm_create		333
+#define __NR_pfm_write		(__NR_pfm_create+1)
+#define __NR_pfm_read		(__NR_pfm_create+2)
+#define __NR_pfm_attach		(__NR_pfm_create+3)
+#define __NR_pfm_set_state	(__NR_pfm_create+4)
 
 #ifdef __KERNEL__
 

-- 


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2008-11-26  8:48 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-11-25 21:36 [patch 19/24] perfmon: X86 32-bit system calls support (x86) eranian
  -- strict thread matches above, loose matches on Subject: below --
2008-11-26  8:42 eranian

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox