-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
yaml --- r: 100423 b: refs/heads/master c: 81d68a9 h: refs/heads/master i: 100421: c9ac7c5 100419: c201572 100415: 070ab6d v: v3
- Loading branch information
Steven Rostedt
authored and
Thomas Gleixner
committed
May 23, 2008
1 parent
7a5e07b
commit e9279be
Showing
14 changed files
with
532 additions
and
32 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
--- | ||
refs/heads/master: 352ad25aa4a189c667cb2af333948d34692a2d27 | ||
refs/heads/master: 81d68a96a39844853b37f20cc8282d9b65b78ef3 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,47 @@ | ||
/* | ||
* Trampoline to trace irqs off. (otherwise CALLER_ADDR1 might crash) | ||
* Copyright 2008 by Steven Rostedt, Red Hat, Inc | ||
* (inspired by Andi Kleen's thunk_64.S) | ||
* Subject to the GNU public license, v.2. No warranty of any kind. | ||
*/ | ||
|
||
#include <linux/linkage.h> | ||
|
||
#define ARCH_TRACE_IRQS_ON \ | ||
pushl %eax; \ | ||
pushl %ecx; \ | ||
pushl %edx; \ | ||
call trace_hardirqs_on; \ | ||
popl %edx; \ | ||
popl %ecx; \ | ||
popl %eax; | ||
|
||
#define ARCH_TRACE_IRQS_OFF \ | ||
pushl %eax; \ | ||
pushl %ecx; \ | ||
pushl %edx; \ | ||
call trace_hardirqs_off; \ | ||
popl %edx; \ | ||
popl %ecx; \ | ||
popl %eax; | ||
|
||
#ifdef CONFIG_TRACE_IRQFLAGS | ||
/* put return address in eax (arg1) */ | ||
.macro thunk_ra name,func | ||
.globl \name | ||
\name: | ||
pushl %eax | ||
pushl %ecx | ||
pushl %edx | ||
/* Place EIP in the arg1 */ | ||
movl 3*4(%esp), %eax | ||
call \func | ||
popl %edx | ||
popl %ecx | ||
popl %eax | ||
ret | ||
.endm | ||
|
||
thunk_ra trace_hardirqs_on_thunk,trace_hardirqs_on_caller | ||
thunk_ra trace_hardirqs_off_thunk,trace_hardirqs_off_caller | ||
#endif |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.