perf_counter tools: fix x86 syscall numbers
Signed-off-by: Ingo Molnar <mingo@elte.hu>
This commit is contained in:
parent
e5791a808a
commit
e0202f56a8
@ -57,13 +57,13 @@
|
||||
#define asmlinkage
|
||||
|
||||
#ifdef __x86_64__
|
||||
#define __NR_perf_counter_open 295
|
||||
#define __NR_perf_counter_open 298
|
||||
#define rmb() asm volatile("lfence" ::: "memory")
|
||||
#define cpu_relax() asm volatile("rep; nop" ::: "memory");
|
||||
#endif
|
||||
|
||||
#ifdef __i386__
|
||||
#define __NR_perf_counter_open 333
|
||||
#define __NR_perf_counter_open 336
|
||||
#define rmb() asm volatile("lfence" ::: "memory")
|
||||
#define cpu_relax() asm volatile("rep; nop" ::: "memory");
|
||||
#endif
|
||||
|
@ -108,13 +108,13 @@
|
||||
#define asmlinkage
|
||||
|
||||
#ifdef __x86_64__
|
||||
#define __NR_perf_counter_open 295
|
||||
#define __NR_perf_counter_open 298
|
||||
#define rmb() asm volatile("lfence" ::: "memory")
|
||||
#define cpu_relax() asm volatile("rep; nop" ::: "memory");
|
||||
#endif
|
||||
|
||||
#ifdef __i386__
|
||||
#define __NR_perf_counter_open 333
|
||||
#define __NR_perf_counter_open 336
|
||||
#define rmb() asm volatile("lfence" ::: "memory")
|
||||
#define cpu_relax() asm volatile("rep; nop" ::: "memory");
|
||||
#endif
|
||||
|
@ -89,13 +89,13 @@
|
||||
#define asmlinkage
|
||||
|
||||
#ifdef __x86_64__
|
||||
#define __NR_perf_counter_open 295
|
||||
#define __NR_perf_counter_open 298
|
||||
#define rmb() asm volatile("lfence" ::: "memory")
|
||||
#define cpu_relax() asm volatile("rep; nop" ::: "memory");
|
||||
#endif
|
||||
|
||||
#ifdef __i386__
|
||||
#define __NR_perf_counter_open 333
|
||||
#define __NR_perf_counter_open 336
|
||||
#define rmb() asm volatile("lfence" ::: "memory")
|
||||
#define cpu_relax() asm volatile("rep; nop" ::: "memory");
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user