All of lore.kernel.org
 help / color / mirror / Atom feed
From: eranian@googlemail.com
To: linux-kernel@vger.kernel.org
Subject: [patch 17/24] perfmon: X86 64-bit system calls support (x86)
Date: Tue, 25 Nov 2008 13:36:32 -0800 (PST)	[thread overview]
Message-ID: <492c6fe0.25e2660a.15b8.319e@mx.google.com> (raw)

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

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

Index: o3/arch/x86/include/asm/unistd_64.h
===================================================================
--- o3.orig/arch/x86/include/asm/unistd_64.h	2008-11-03 11:17:02.000000000 +0100
+++ o3/arch/x86/include/asm/unistd_64.h	2008-11-03 11:17:59.000000000 +0100
@@ -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

-- 


             reply	other threads:[~2008-11-25 21:42 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-11-25 21:36 eranian [this message]
  -- strict thread matches above, loose matches on Subject: below --
2008-11-26  8:42 [patch 17/24] perfmon: X86 64-bit system calls support (x86) eranian
2008-11-26 11:05 ` Andi Kleen
2008-11-26 17:58   ` stephane eranian

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=492c6fe0.25e2660a.15b8.319e@mx.google.com \
    --to=eranian@googlemail.com \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.