aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorIngo Molnar <mingo@elte.hu>2009-05-01 10:51:44 -0400
committerIngo Molnar <mingo@elte.hu>2009-05-01 10:51:44 -0400
commite0202f56a82cd1170c6f1c520db669431cf26ddc (patch)
tree65584255e679d9c612d9177eb0ec99345bb86925
parente5791a808ae91a9e7e1b65ea9b8de0f96a043d88 (diff)
perf_counter tools: fix x86 syscall numbers
Signed-off-by: Ingo Molnar <mingo@elte.hu>
-rw-r--r--Documentation/perf_counter/builtin-record.c4
-rw-r--r--Documentation/perf_counter/builtin-stat.c4
-rw-r--r--Documentation/perf_counter/builtin-top.c4
3 files changed, 6 insertions, 6 deletions
diff --git a/Documentation/perf_counter/builtin-record.c b/Documentation/perf_counter/builtin-record.c
index 4a50abf843ee..9cff266fb614 100644
--- a/Documentation/perf_counter/builtin-record.c
+++ b/Documentation/perf_counter/builtin-record.c
@@ -57,13 +57,13 @@
57#define asmlinkage 57#define asmlinkage
58 58
59#ifdef __x86_64__ 59#ifdef __x86_64__
60#define __NR_perf_counter_open 295 60#define __NR_perf_counter_open 298
61#define rmb() asm volatile("lfence" ::: "memory") 61#define rmb() asm volatile("lfence" ::: "memory")
62#define cpu_relax() asm volatile("rep; nop" ::: "memory"); 62#define cpu_relax() asm volatile("rep; nop" ::: "memory");
63#endif 63#endif
64 64
65#ifdef __i386__ 65#ifdef __i386__
66#define __NR_perf_counter_open 333 66#define __NR_perf_counter_open 336
67#define rmb() asm volatile("lfence" ::: "memory") 67#define rmb() asm volatile("lfence" ::: "memory")
68#define cpu_relax() asm volatile("rep; nop" ::: "memory"); 68#define cpu_relax() asm volatile("rep; nop" ::: "memory");
69#endif 69#endif
diff --git a/Documentation/perf_counter/builtin-stat.c b/Documentation/perf_counter/builtin-stat.c
index 1fde12762ca4..9fbc66173de7 100644
--- a/Documentation/perf_counter/builtin-stat.c
+++ b/Documentation/perf_counter/builtin-stat.c
@@ -108,13 +108,13 @@
108#define asmlinkage 108#define asmlinkage
109 109
110#ifdef __x86_64__ 110#ifdef __x86_64__
111#define __NR_perf_counter_open 295 111#define __NR_perf_counter_open 298
112#define rmb() asm volatile("lfence" ::: "memory") 112#define rmb() asm volatile("lfence" ::: "memory")
113#define cpu_relax() asm volatile("rep; nop" ::: "memory"); 113#define cpu_relax() asm volatile("rep; nop" ::: "memory");
114#endif 114#endif
115 115
116#ifdef __i386__ 116#ifdef __i386__
117#define __NR_perf_counter_open 333 117#define __NR_perf_counter_open 336
118#define rmb() asm volatile("lfence" ::: "memory") 118#define rmb() asm volatile("lfence" ::: "memory")
119#define cpu_relax() asm volatile("rep; nop" ::: "memory"); 119#define cpu_relax() asm volatile("rep; nop" ::: "memory");
120#endif 120#endif
diff --git a/Documentation/perf_counter/builtin-top.c b/Documentation/perf_counter/builtin-top.c
index 8d28864a20c0..b6d989e7b196 100644
--- a/Documentation/perf_counter/builtin-top.c
+++ b/Documentation/perf_counter/builtin-top.c
@@ -89,13 +89,13 @@
89#define asmlinkage 89#define asmlinkage
90 90
91#ifdef __x86_64__ 91#ifdef __x86_64__
92#define __NR_perf_counter_open 295 92#define __NR_perf_counter_open 298
93#define rmb() asm volatile("lfence" ::: "memory") 93#define rmb() asm volatile("lfence" ::: "memory")
94#define cpu_relax() asm volatile("rep; nop" ::: "memory"); 94#define cpu_relax() asm volatile("rep; nop" ::: "memory");
95#endif 95#endif
96 96
97#ifdef __i386__ 97#ifdef __i386__
98#define __NR_perf_counter_open 333 98#define __NR_perf_counter_open 336
99#define rmb() asm volatile("lfence" ::: "memory") 99#define rmb() asm volatile("lfence" ::: "memory")
100#define cpu_relax() asm volatile("rep; nop" ::: "memory"); 100#define cpu_relax() asm volatile("rep; nop" ::: "memory");
101#endif 101#endif