This patchs adds the entry points for the X86 32-bit perfmon2 system calls. Signed-off-by: Stephane Eranian <eranian@gmail.com> -- Index: o/arch/x86/kernel/syscall_table_32.S =================================================================== --- o.orig/arch/x86/kernel/syscall_table_32.S 2008-06-04 11:11:06.000000000 +0200 +++ o/arch/x86/kernel/syscall_table_32.S 2008-06-04 11:33:27.000000000 +0200 @@ -326,3 +326,16 @@ .long sys_fallocate .long sys_timerfd_settime /* 325 */ .long sys_timerfd_gettime + .long sys_pfm_create_context + .long sys_pfm_write_pmcs + .long sys_pfm_write_pmds + .long sys_pfm_read_pmds /* 330 */ + .long sys_pfm_load_context + .long sys_pfm_start + .long sys_pfm_stop + .long sys_ni_syscall /* reserved for pfm_restart */ + .long sys_ni_syscall /* 335 reserverd for pfm_create_evtsets */ + .long sys_ni_syscall /* reserved for pfm_getinfo_evtsets */ + .long sys_ni_syscall /* reserved for pfm_delete_evtsets */ + .long sys_pfm_unload_context + Index: o/include/asm-x86/unistd_32.h =================================================================== --- o.orig/include/asm-x86/unistd_32.h 2008-06-04 11:11:06.000000000 +0200 +++ o/include/asm-x86/unistd_32.h 2008-06-04 11:33:27.000000000 +0200 @@ -332,6 +332,16 @@ #define __NR_fallocate 324 #define __NR_timerfd_settime 325 #define __NR_timerfd_gettime 326 +#define __NR_pfm_create_context 327 +#define __NR_pfm_write_pmcs (__NR_pfm_create_context+1) +#define __NR_pfm_write_pmds (__NR_pfm_create_context+2) +#define __NR_pfm_read_pmds (__NR_pfm_create_context+3) +#define __NR_pfm_load_context (__NR_pfm_create_context+4) +#define __NR_pfm_start (__NR_pfm_create_context+5) +#define __NR_pfm_stop (__NR_pfm_create_context+6) +/* 7 to 10 reserved for future perfmon syscalls */ +#define __NR_pfm_unload_context (__NR_pfm_create_context+11) + #ifdef __KERNEL__ -- --
| david | Re: Dual-Licensing Linux Kernel with GPL V2 and GPL V3 |
| Greg KH | [2.6.22.2 review 05/84] Fix deadlocks in sparc serial console. |
| Greg KH | [GIT PATCH] driver core patches against 2.6.24 |
| Andrew Morton | -mm merge plans for 2.6.23 |
git: | |
| Jeff Kirsher | [RESEND][NET-NEXT PATCH 01/29] ixgbe: fix bug where using wake queue instead of st... |
| Gerrit Renker | [PATCH 27/37] dccp: Integration of dynamic feature activation - part 2 (server side) |
| Jarek Poplawski | [PATCH] pkt_sched: Destroy gen estimators under rtnl_lock(). |
| Patrick McHardy | Re: [GIT]: Networking |
| Manuel Bouyer | Re: Interactive performance in -current |
| Christian Limpach | Re: newfs: determining file system parameters |
| YAMAMOTO Takashi | Re: statvfs(2) replacement for statfs(2) patch |
| Charles M. Hannum | Re: kern/22869: Slave IDE drive not detected |
