Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
linux
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
linux
Commits
e0202f56
Commit
e0202f56
authored
May 01, 2009
by
Ingo Molnar
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
perf_counter tools: fix x86 syscall numbers
Signed-off-by:
Ingo Molnar
<
mingo@elte.hu
>
parent
e5791a80
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
6 deletions
+6
-6
Documentation/perf_counter/builtin-record.c
Documentation/perf_counter/builtin-record.c
+2
-2
Documentation/perf_counter/builtin-stat.c
Documentation/perf_counter/builtin-stat.c
+2
-2
Documentation/perf_counter/builtin-top.c
Documentation/perf_counter/builtin-top.c
+2
-2
No files found.
Documentation/perf_counter/builtin-record.c
View file @
e0202f56
...
@@ -57,13 +57,13 @@
...
@@ -57,13 +57,13 @@
#define asmlinkage
#define asmlinkage
#ifdef __x86_64__
#ifdef __x86_64__
#define __NR_perf_counter_open 29
5
#define __NR_perf_counter_open 29
8
#define rmb() asm volatile("lfence" ::: "memory")
#define rmb() asm volatile("lfence" ::: "memory")
#define cpu_relax() asm volatile("rep; nop" ::: "memory");
#define cpu_relax() asm volatile("rep; nop" ::: "memory");
#endif
#endif
#ifdef __i386__
#ifdef __i386__
#define __NR_perf_counter_open 33
3
#define __NR_perf_counter_open 33
6
#define rmb() asm volatile("lfence" ::: "memory")
#define rmb() asm volatile("lfence" ::: "memory")
#define cpu_relax() asm volatile("rep; nop" ::: "memory");
#define cpu_relax() asm volatile("rep; nop" ::: "memory");
#endif
#endif
...
...
Documentation/perf_counter/builtin-stat.c
View file @
e0202f56
...
@@ -108,13 +108,13 @@
...
@@ -108,13 +108,13 @@
#define asmlinkage
#define asmlinkage
#ifdef __x86_64__
#ifdef __x86_64__
#define __NR_perf_counter_open 29
5
#define __NR_perf_counter_open 29
8
#define rmb() asm volatile("lfence" ::: "memory")
#define rmb() asm volatile("lfence" ::: "memory")
#define cpu_relax() asm volatile("rep; nop" ::: "memory");
#define cpu_relax() asm volatile("rep; nop" ::: "memory");
#endif
#endif
#ifdef __i386__
#ifdef __i386__
#define __NR_perf_counter_open 33
3
#define __NR_perf_counter_open 33
6
#define rmb() asm volatile("lfence" ::: "memory")
#define rmb() asm volatile("lfence" ::: "memory")
#define cpu_relax() asm volatile("rep; nop" ::: "memory");
#define cpu_relax() asm volatile("rep; nop" ::: "memory");
#endif
#endif
...
...
Documentation/perf_counter/builtin-top.c
View file @
e0202f56
...
@@ -89,13 +89,13 @@
...
@@ -89,13 +89,13 @@
#define asmlinkage
#define asmlinkage
#ifdef __x86_64__
#ifdef __x86_64__
#define __NR_perf_counter_open 29
5
#define __NR_perf_counter_open 29
8
#define rmb() asm volatile("lfence" ::: "memory")
#define rmb() asm volatile("lfence" ::: "memory")
#define cpu_relax() asm volatile("rep; nop" ::: "memory");
#define cpu_relax() asm volatile("rep; nop" ::: "memory");
#endif
#endif
#ifdef __i386__
#ifdef __i386__
#define __NR_perf_counter_open 33
3
#define __NR_perf_counter_open 33
6
#define rmb() asm volatile("lfence" ::: "memory")
#define rmb() asm volatile("lfence" ::: "memory")
#define cpu_relax() asm volatile("rep; nop" ::: "memory");
#define cpu_relax() asm volatile("rep; nop" ::: "memory");
#endif
#endif
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment